Author Topic: BYO games plugin :)  (Read 65375 times)

Offline PsYhLo

  • Almost regular
  • **
  • Posts: 157
Re: BYO games plugin :)
« Reply #15 on: June 16, 2006, 12:01:54 pm »
i reached the level 11
with score 45970  :lol:

Offline kkez

  • Almost regular
  • **
  • Posts: 153
    • WinapiZone
Re: BYO games plugin :)
« Reply #16 on: June 16, 2006, 12:08:23 pm »
i reached the level 11
with score 45970  :lol:
Go back to work!  :lol:

BTW, the square block should be C::B logo!  :)

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: BYO games plugin :)
« Reply #17 on: June 16, 2006, 12:13:12 pm »
i reached the level 11
with score 45970  :lol:

Wow, I should start thinking of online high-scores ;)

Go back to work!  :lol:

and I should really add time limits :lol:

Quote
BTW, the square block should be C::B logo!  :)

I'll start think of it  :)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: BYO games plugin :)
« Reply #18 on: June 16, 2006, 12:35:01 pm »
THIS ROCKS!
Great work! Unfortunately I guess that will cause RC3 to be delayed more... ;-) :lol: :lol: :lol:
Thanks - I'm like games within applications - I remember one of the first applications I was using where this was implemented: FastTracker (FT2). Great work (also technically - within a "document"... simply cool)!
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: BYO games plugin :)
« Reply #19 on: June 16, 2006, 12:38:35 pm »
also a boss alert key combination would be nice :P

There is: Ctrl-W ;)
Be patient!
This bug will be fixed soon...

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: BYO games plugin :)
« Reply #20 on: June 16, 2006, 12:47:28 pm »
also a boss alert key combination would be nice :P

There is: Ctrl-W ;)
I know, but the game state isn't saved ;) hmm. Auto save option??? ;)
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: BYO games plugin :)
« Reply #21 on: June 16, 2006, 01:17:31 pm »
THIS ROCKS!
Great work! Unfortunately I guess that will cause RC3 to be delayed more... ;-) :lol: :lol: :lol:
Thanks - I'm like games within applications - I remember one of the first applications I was using where this was implemented: FastTracker (FT2). Great work (also technically - within a "document"... simply cool)!
With regards, Morten.

FT2 - old, good times. I've spend many hours using this tracker and of course many hours playing Nibbles ;)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: BYO games plugin :)
« Reply #22 on: June 16, 2006, 01:22:55 pm »
Byo, very good timing. Today I was in no mood for serious development  :oops: . So I took the liberty and added that reminder message :).
Be patient!
This bug will be fixed soon...

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: BYO games plugin :)
« Reply #23 on: June 16, 2006, 02:33:56 pm »
Byo,

Is there a key to drop the current block directly to the bottom (instead of keeping the "key down" button) ?

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: BYO games plugin :)
« Reply #24 on: June 16, 2006, 04:53:50 pm »
Currently it supports one game which I called C::B-Tris (based on one of the most popular game in history).

BTW. While testing I've got over 30000 score :D now your turn ;)

Nice work byo. I just scored 15670 points after testing it a bit (I know it is a ridiculous result :D). Anyway, I have a small suggestion. May be you can add some kind of difficulty level, in the sense of more point scored more difficult becomes the game. As it is, it is quite easy :).

A thing I do not like it the message go back to work. To have each x minutes to close it is quite annoying.... :).

And there was one time a discussion about a IRC plugin (as Ceniza pointed out)....

Best wishes,
Michael

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: BYO games plugin :)
« Reply #25 on: June 16, 2006, 05:13:26 pm »
A thing I do not like it the message go back to work. To have each x minutes to close it is quite annoying.... :).
Well, in that case you could download a stand-alone variant. If you have C::B open you usually want to work, right? ;-) But you (of course) can change the interval in the constructor of byoCBTrisEditor (m_BackToWorkTimer(1)). One minute is really too hard... ;-)
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: BYO games plugin :)
« Reply #26 on: June 16, 2006, 05:28:28 pm »
A thing I do not like it the message go back to work. To have each x minutes to close it is quite annoying.... :).
If you have C::B open you usually want to work, right? ;-)

Yes, right :). If not I start NWN (may be NWN2) :D.

But you (of course) can change the interval in the constructor of byoCBTrisEditor (m_BackToWorkTimer(1)). One minute is really too hard... ;-)

Ok, I understand. Thanks for the info :).

Best wishes,
Michael

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: BYO games plugin :)
« Reply #27 on: June 16, 2006, 06:54:03 pm »
Hello,

I have tried the Plugin under Gentoo 2006.0 with C::B rev2577 and it works, but not the keyboard. I can press whatever key I want, it does not work (well only the P for Pause works :)).

My keyboard is set as Generic 105-key (Intl) PC and the layout is German.

I will build a .deb package and see if it will work on Ubuntu Dapper.

Best wishes,
Michael
« Last Edit: June 16, 2006, 06:59:11 pm by Michael »

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: BYO games plugin :)
« Reply #28 on: June 16, 2006, 07:11:00 pm »
I can confirm this. Gentoo, C::B revision 2576, wxGTK 2.6.2, gcc 3.4.6, Generic 105-key keyboard with german layout. The pause-key works but no other keys produce any reaction.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: BYO games plugin :)
« Reply #29 on: June 16, 2006, 09:34:56 pm »
Byo, very good timing. Today I was in no mood for serious development  :oops: . So I took the liberty and added that reminder message :).

OK, I see that things are getting out of control ;)
Back-To-Work Timer is going to stay, maybe in changed form, but it will be here :)

And bugs with keyboard handling on linux may be caused by unusual keyboard processing. I use ::wxGetKeyState() for arrows which should work fine. But processing is started fomr EVT_CHAR event and here may be the problem. In windows wxWANTS_CHARS flag had to be added to process extra keys. wxGTK may be incompatible with wxMSW here. Does anyone have any experience with processing Char/Key events for arrow keys ? (I tried EVT_KEY_DOWN but it seemed not to process extra keys or use internal system key codes, but it may also be my bug becuase it was 2.00 AM ;))

I'll try to do all updates / fixes after weekend because my friend is going to marry tomorrow.
It's time to party  8)