Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: byo on June 16, 2006, 03:50:44 am

Title: BYO games plugin :)
Post by: byo on June 16, 2006, 03:50:44 am
For all RC3-waiters, overcoded etc. I've coded small entertainment support for C::B.

Currently it supports one game which I called C::B-Tris (based on one of the most popular game in history).

I'm attaching sources (should be unpacked to src/plugins/contrib directory to compile properly, tested on MinGW with PCH support, haven't tested other platforms) and binaries (tested with 15.06.06 Nightly, just put dll into share/CodeBlocks/plugins directory).

Have fun ;)

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

[attachment deleted by admin]
Title: Re: BYO games plugin :)
Post by: Ceniza on June 16, 2006, 04:01:26 am
Nice :)

BTW, did you happen to read this (http://forums.codeblocks.org/index.php?topic=1689.0) thread? :P

Just one thing: it shows :B-Tris in the notebook (notice the missing C).
Title: Re: BYO games plugin :)
Post by: killerbot on June 16, 2006, 07:42:02 am
this is wonderfull

my opinion : we should add it to the svn repos and distribute with the nightlies, that is if you and the big boss agree ...

[EDIT] : here's a first support question :
 - how do I pause the game ??
Title: Re: BYO games plugin :)
Post by: mandrav on June 16, 2006, 09:32:25 am
lol, byo, that's awesome! :lol:
Title: Re: BYO games plugin :)
Post by: PsYhLo on June 16, 2006, 09:34:42 am
it's cool but if it has a pause button or someting
Title: Re: BYO games plugin :)
Post by: mandrav on June 16, 2006, 09:41:43 am
It automatically pauses if it looses focus.
It also automatically resumes when it gains focus again.
Title: Re: BYO games plugin :)
Post by: David Perfors on June 16, 2006, 09:49:56 am
Yes put this in svn ;) also a boss alert key combination would be nice :P
Title: Re: BYO games plugin :)
Post by: mandrav on June 16, 2006, 09:50:24 am
It automatically pauses if it looses focus.
It also automatically resumes when it gains focus again.

Actually, there's a small bug and this doesn't work yet.
Title: Re: BYO games plugin :)
Post by: mandrav on June 16, 2006, 09:53:10 am
Just one thing: it shows :B-Tris in the notebook (notice the missing C).

Hmm, this should be a bug in C::B. It probably thinks it's the start of a path (C:) and clips it...
Title: Re: BYO games plugin :)
Post by: byo on June 16, 2006, 09:57:13 am
Few bugs fixed.

Pause/unpause with 'p' key

Just one thing: it shows :B-Tris in the notebook (notice the missing C).

Hmm, this should be a bug in C::B. It probably thinks it's the start of a path (C:) and clips it...

This is because C::B removes path in file name, and in this case C: is the drive number. It's already fixed :D

I was also wondering about one option - time limit. That would work like this - if playing more than 10 minutes, games is paused for one hour and can not be unpaused in that time (this feature just to prevent playing instead of coding ;) )

[attachment deleted by admin]
Title: Re: BYO games plugin :)
Post by: PsYhLo on June 16, 2006, 10:09:03 am
is there any difficults in this game
something like speed or different blocks

:)
Title: Re: BYO games plugin :)
Post by: PsYhLo on June 16, 2006, 10:17:10 am
i have one suggestion why don't make pong game, snake game  :D
Title: Re: BYO games plugin :)
Post by: byo on June 16, 2006, 11:04:54 am
is there any difficults in this game
something like speed or different blocks

:)

After 20 full lines, there's level-up and speed-up (speed-up is up to 10th level, after that speed does not grow, but it's hard to play on that speed)

i have one suggestion why don't make pong game, snake game  :D

shouldn't be hard to do ;) propably easier that C::B-Tris :D.
Title: Re: BYO games plugin :)
Post by: killerbot on June 16, 2006, 11:19:54 am
euh euh euh MAJOR FEATURE REQUEST : who can port CB to run on my mobile phone, so I can play the games on it  :mrgreen: :mrgreen:
Title: Re: BYO games plugin :)
Post by: David Perfors on June 16, 2006, 11:29:16 am
lol, I am sorry, but I don't have a mobile phone which could run programs, so I can't do it. :( :P
Title: Re: BYO games plugin :)
Post by: PsYhLo on June 16, 2006, 12:01:54 pm
i reached the level 11
with score 45970  :lol:
Title: Re: BYO games plugin :)
Post by: kkez 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!  :)
Title: Re: BYO games plugin :)
Post by: byo 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  :)
Title: Re: BYO games plugin :)
Post by: MortenMacFly 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.
Title: Re: BYO games plugin :)
Post by: mandrav on June 16, 2006, 12:38:35 pm
also a boss alert key combination would be nice :P

There is: Ctrl-W ;)
Title: Re: BYO games plugin :)
Post by: David Perfors 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??? ;)
Title: Re: BYO games plugin :)
Post by: byo 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 ;)
Title: Re: BYO games plugin :)
Post by: mandrav 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 :).
Title: Re: BYO games plugin :)
Post by: killerbot 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) ?
Title: Re: BYO games plugin :)
Post by: Michael 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 (http://forums.codeblocks.org/index.php?topic=1689.0) about a IRC plugin (as Ceniza pointed out)....

Best wishes,
Michael
Title: Re: BYO games plugin :)
Post by: MortenMacFly 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.
Title: Re: BYO games plugin :)
Post by: Michael 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
Title: Re: BYO games plugin :)
Post by: Michael 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
Title: Re: BYO games plugin :)
Post by: Der Meister 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.
Title: Re: BYO games plugin :)
Post by: byo 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)
Title: Re: BYO games plugin :)
Post by: Michael on June 16, 2006, 09:39:38 pm
I'll try to do all updates / fixes after weekend because my friend is going to marry tomorrow.
It's time to party  8)

Hello,

Congratulations to your friend :).

I have tried on Ubuntu Dapper (rev2577, wxGTK 2.6.1, GCC 4.0.3) and it does not work too (only the P for Pause works).

Anyway, enjoy the party and do not stress too much for an update. We can wait some days, or :)?

Best wishes,
Michael
Title: Re: BYO games plugin :)
Post by: killerbot on June 16, 2006, 10:11:45 pm
same problem on suse 10.1 (64bit)
- here I even have more problems (maybe driver of graphics card)
- blocks leave a trail (they color every position they passed)
- background is not black

note : Cb itself does not look that sparkling on suse (well at least in my install)

Question : how do I create a screenshot of the active window/application ??

screenshot added : does not look so nice :-(

[attachment deleted by admin]
Title: Re: BYO games plugin :)
Post by: Michael on June 16, 2006, 10:14:28 pm
Question : how do I create a screenshot of the active window/application ??

Hello,

I do not know on Suse, but on Gentoo and Ubuntu there is under Desktop a Take Screenshot. Never try it, anyway :).

Best wishes,
Michael
Title: Re: BYO games plugin :)
Post by: TheTuxKeeper on June 16, 2006, 10:15:24 pm
Question : how do I create a screenshot of the active window/application ??
You can use ksnapshot. It provides three or four options what to get on the screenshot.

EDIT: It should be, if installed, under Utilities/Desktop in the K-menu
EDIT2: It's part of the kdegraphics3 package ;)
Title: Re: BYO games plugin :)
Post by: Der Meister on June 16, 2006, 10:29:29 pm
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 don't think that the keyboard processing is the problem. I just replaced the wxGetKeyState calls by a call to event.GetKeyCode() and used the keys A, S, D and W for navigation instead of the arrow keys. Nothing changed - the game respondes to the key P but not the others. As the way the keycode is checked was the same for alle 5 keys I don't think that the keyboard processing causes the problems. Anyway, I don't know what it is yet, too...
After more investigation I found out that wxGetKeyState doesn't work on Linux. I have no idea why but this seems to be the problem.
This is not difficult to solve in byoCBTrisContent::OnChar because wxGetKeyState(WXK_UP) can be replaced by event.GetKeyCode() == WXK_UP and so on - this works. But the real problem exists in byoCBTrisContent::UpdateChunkPos: How could these call to wxGetKeyState be replaced?
Title: Re: BYO games plugin :)
Post by: BordRider on June 17, 2006, 12:08:50 am
P4 3.2G w/2G RAM, WinXP Pro:

30% processor usage
wow
Title: Re: BYO games plugin :)
Post by: Game_Ender on June 17, 2006, 07:04:58 am
Offtopic about CPU usage:

P4 3.2G w/2G RAM, WinXP Pro:

30% processor usage
wow

1.6 Pentium M w/1GB Ram, Ubuntu Drapper

Spikes to 100% usage while editing text:  wow

Neither Scite or wxStEdit text editor have usage that bad.  The wxStEdit  editor is hard on the processor but not as bad as CB.  For comparison its faster to edit text file in Eclipse than in CB!
Title: Re: BYO games plugin :)
Post by: thomas on June 17, 2006, 12:17:35 pm
Neither Scite or wxStEdit text editor have usage that bad.  The wxStEdit  editor is hard on the processor but not as bad as CB.  For comparison its faster to edit text file in Eclipse than in CB!
I believe the previous post related to the tetris game rather than editing. ;)

Anyway, it's been said before, but I'll repeat this any time. Many weeks ago, I suspected that this CPU usage may come from many update_ui messages (which seems plausible if you look at their number). I made a patch and asked the people who were suffering from particularly high CPU usage to test it and verify if the patch made anything better. Michael even made a binary build for everybody's convenience.

User follow-up was ZERO.

Thus, if everybody just keeps saying "this sucks" but nobody is willing to invest 3 minutes to help confirm a probable cause, then honestly, I can only reply "well, then it is not important".

Code::Blocks uses update_ui messages to keep the state of the menu items and toolbars in sync. The code changes necessary to do without these would be massive. You will understand that I am not starting such an endeavour based merely on a vague idea that it might possibly have to do with a problem.
Title: Re: BYO games plugin :)
Post by: Game_Ender on June 17, 2006, 04:40:18 pm
Thomas, if you are talking about this (http://forums.codeblocks.org/index.php?topic=2869.msg24084#msg24084) post.  I tried that and it has no effect.  Which kind of makes sense because I don't think cbEditor had any.  I will continue the discussion in that thread.
Title: Re: BYO games plugin :)
Post by: tiwag on June 19, 2006, 03:18:30 pm
Thanks Byo, great plugin, great game as well !

with the actual project setup i got problems during debugging, therefore i've changed the
"working dir" and "host application" pathes in the project file

also i've added to rotate clockwise when Shift-key is pressed together with the UP-key

added some Guidelines too

(http://img461.imageshack.us/img461/5541/byogamescbtrisguidelines2kl.png)

if someone is interested, here's the patch
[edit] patchfile removed, newer one added in later posting
Title: Re: BYO games plugin :)
Post by: tiwag on June 20, 2006, 12:18:17 pm
thanks byo ;-) for your heavy mods from yestaerday,
which made my patch quite useless a few hours after publishing ...  :lol:

here is the patch modified to work with the present actual svn version rev 2584

any comments ?

[edit] patchfile removed, newer one added in later posting
Title: Re: BYO games plugin :)
Post by: byo on June 20, 2006, 01:38:26 pm
Ok, some major changes in games plugin. It has back-to-work timer included in base game class.
More than 10 minutes of play does force pause for one hour. Additionally after 3 hours of work it does remind to take a break :)

Another thing is that I've made it working on linux (no overdraw / keyboard problems) but I've had troubles with key-up event. It's sometimes called with quite delay (I haven't figured why) making the game to behave like with broken keyboard where keys stay down when pressed.

thanks byo ;-) for your heavy mods from yestaerday,
which made my patch quite useless a few hours after publishing ...  :lol:

here is the patch modified to work with the present actual svn version rev 2584

any comments ?

For me, additional guidelines make game easier ;). It's good to sometimes put chunk in wrong position and try to fix that ;). I propse to add this as game option. But as far as there's no option system, it will be added with delay.

with the actual project setup i got problems during debugging, therefore i've changed the
"working dir" and "host application" pathes in the project file

What settings do you use ? I usually start debugging C::B project instead of plugin's one. But if there's easier solution why not use it ;)
Title: Re: BYO games plugin :)
Post by: tiwag on June 20, 2006, 02:04:52 pm
For me, additional guidelines make game easier ;). It's good to sometimes put chunk in wrong position and try to fix that ;). I propse to add this as game option. But as far as there's no option system, it will be added with delay.
i propose to implement a Hot-key ( Shift-Q for example ) to toggle the GuideLines display, i use the Shift-key combination,
because i always have one finger on the left Shift key to toggle the rotation-direction if needed, when pressing the UP key.


What settings do you use ? I usually start debugging C::B project instead of plugin's one. But if there's easier solution why not use it ;)

with the configuration you've used in your project setup

working_dir ="..\..\..\devel"
host_application = ".\codeblocks.exe"

the debugger gets confused with the needed path to codeblocks.exe (at least it occurred for me)


my project settings are also in the patch, they are

working dir = "."
host_application   = "..\..\..\devel\codeblocks.exe"

then you can start debugging directly from the byogames project.


Title: Re: BYO games plugin :)
Post by: tiwag on June 20, 2006, 02:50:04 pm
ok, next patch, which applies to svn rev 2586 and
uses the Hot-key "g" or "G" to toggle the Guidelines display.

:D

[attachment deleted by admin]
Title: Re: BYO games plugin :)
Post by: sethjackson on June 20, 2006, 07:51:01 pm
Umm there is a not so nice problem with this plugin.......

Here is what I did.

1. Plugins -> BYO Games -> C::B-Tris -> Play.
2. Right click on the C::B Tris tab -> Close.
3. I started coding.
4. After 10min I get this message box telling me to get back to work. :P I hit Ok. (I'm not even running the game). I get this message box over, and over (yea I could check don't annoy me but I don't). Close C::B.
5. Re-start C::B.
6. Access violation......

Anyways the message box is the bug. I wasn't even playing the game, and it told me to get back to work.  :lol:

I guess the access violation could be a bug too.

I was using this nightly.

http://forums.codeblocks.org/index.php?topic=3378.0

With wx 2.6.3.
Title: Re: BYO games plugin :)
Post by: MortenMacFly on June 20, 2006, 08:44:28 pm
Here is what I did. [...]
I can confirm this. It happened to me, too. But I believe byo knows best where to look for it... ;-)

[access violation] I was using this nightly.
What shall we do with this report? Come on, you could have at least provided the crash report... :(

With regards, Morten.
Title: Re: BYO games plugin :)
Post by: sethjackson on June 20, 2006, 08:47:16 pm
[access violation] I was using this nightly.
What shall we do with this report? Come on, you could have at least provided the crash report... :(

With regards, Morten.
Umm well that is the thing. No *.rpt was generated......  :?
Title: Re: BYO games plugin :)
Post by: MortenMacFly on June 20, 2006, 09:14:19 pm
Umm well that is the thing. No *.rpt was generated......  :?
Ok... that explains pretty well why you did not... :lol: :lol: :lol:
Title: Re: BYO games plugin :)
Post by: sethjackson on June 20, 2006, 09:37:58 pm
Umm well that is the thing. No *.rpt was generated......  :?
Ok... that explains pretty well why you did not... :lol: :lol: :lol:

 :lol:
Title: Re: BYO games plugin :)
Post by: byo on June 21, 2006, 12:14:55 am
Umm there is a not so nice problem with this plugin.......

Here is what I did.

1. Plugins -> BYO Games -> C::B-Tris -> Play.
2. Right click on the C::B Tris tab -> Close.
3. I started coding.
4. After 10min I get this message box telling me to get back to work. :P I hit Ok. (I'm not even running the game). I get this message box over, and over (yea I could check don't annoy me but I don't). Close C::B.
5. Re-start C::B.
6. Access violation......

Anyways the message box is the bug. I wasn't even playing the game, and it told me to get back to work.  :lol:

I guess the access violation could be a bug too.

I was using this nightly.

http://forums.codeblocks.org/index.php?topic=3378.0

With wx 2.6.3.

Yop, that was one small thing I've forgotten to add into destructor  :oops:. The only thing I don't really understand is access violation after restarting C::B. All games state is currently reset when restarting (nothing read from configuration). So it should work fine. Maybe it's caused by multiple instances of AnnoyingDialog  :?
Title: Re: BYO games plugin :)
Post by: Michael on June 21, 2006, 12:20:50 am
Hello,

I have tried the game on my fresh compiled C::B (.deb package rev2586, Ubuntu Dapper) and now the arrow keys seem to work :). Anyway, the game is very slow and the mouse cursor is blinking all the time when it is inside the game's window :?.

Best wishes,
Michael
Title: Re: BYO games plugin :)
Post by: byo on June 21, 2006, 12:40:23 am
Hello,

I have tried the game on my fresh compiled C::B (.deb package rev2586, Ubuntu Dapper) and now the arrow keys seem to work :). Anyway, the game is very slow and the mouse cursor is blinking all the time when it is inside the game's window :?.

Best wishes,
Michael


Thx for info.
Whats your CPU ? And what do you mean by saying "slowly" ? Does it work slowly or respond for keyboard with delay ? I've tested on gentoo and it worked almost fine for me.
Title: Re: BYO games plugin :)
Post by: Michael on June 21, 2006, 12:42:18 am
Thx for info.
Whats your CPU ? And what do you mean by saying "slowly" ? Does it work slowly or respond for keyboard with delay ? I've tested on gentoo and it worked almost fine for me.

Hello,

I have a PIII 500MHz and around 500MB RAM.

The games works slowly and responds slowly (with delay).

Best wishes,
Michael
Title: Re: BYO games plugin :)
Post by: sethjackson on June 21, 2006, 01:18:42 am
Umm there is a not so nice problem with this plugin.......

Here is what I did.

1. Plugins -> BYO Games -> C::B-Tris -> Play.
2. Right click on the C::B Tris tab -> Close.
3. I started coding.
4. After 10min I get this message box telling me to get back to work. :P I hit Ok. (I'm not even running the game). I get this message box over, and over (yea I could check don't annoy me but I don't). Close C::B.
5. Re-start C::B.
6. Access violation......

Anyways the message box is the bug. I wasn't even playing the game, and it told me to get back to work.  :lol:

I guess the access violation could be a bug too.

I was using this nightly.

http://forums.codeblocks.org/index.php?topic=3378.0

With wx 2.6.3.

Yop, that was one small thing I've forgotten to add into destructor  :oops:. The only thing I don't really understand is access violation after restarting C::B. All games state is currently reset when restarting (nothing read from configuration). So it should work fine. Maybe it's caused by multiple instances of AnnoyingDialog  :?

Yea I couldn't reproduce the access violation. Maybe it was the way I closed C::B. I dunno.  :?
Title: Re: BYO games plugin :)
Post by: tiwag on June 21, 2006, 03:46:29 pm
for those who want build ByoGames plugin on Linux using a CB project (like me)

here is a working byogames-unix project file attached.

[edit] file removed here and comitted to svn
Title: Re: BYO games plugin :)
Post by: tiwag on June 21, 2006, 03:48:54 pm
Thx for info.
Whats your CPU ? And what do you mean by saying "slowly" ? Does it work slowly or respond for keyboard with delay ? I've tested on gentoo and it worked almost fine for me.

Hello,

I have a PIII 500MHz and around 500MB RAM.

The games works slowly and responds slowly (with delay).

Best wishes,
Michael


CBtris works on my AMD XP 2800 with 1024MB ram
on Ubuntu 5.10 and is also really "slow" compared to the Windows version
running on the same computer.
Title: Re: BYO games plugin :)
Post by: Michael on June 21, 2006, 04:52:41 pm
Thx for info.
Whats your CPU ? And what do you mean by saying "slowly" ? Does it work slowly or respond for keyboard with delay ? I've tested on gentoo and it worked almost fine for me.

Hello,

I have a PIII 500MHz and around 500MB RAM.

The games works slowly and responds slowly (with delay).

Best wishes,
Michael


CBtris works on my AMD XP 2800 with 1024MB ram
on Ubuntu 5.10 and is also really "slow" compared to the Windows version
running on the same computer.

Hello,

I have just tried C::B rev 2592 on the same machine, but with Gentoo and it seems that now the game works fine. It is no more slow and perfectly playable :). Anyway, I will give a try on Ubuntu Dapper too.

Best wishes,
Michael
Title: Re: BYO games plugin :)
Post by: Denis on June 21, 2006, 06:18:39 pm
I played several minutes amd close the game. After some time I saw message "Stop playing and begin to work" (or something like this) :) I closed message but it popuped again. Only closing C::B helped with this problem :)
Title: Re: BYO games plugin :)
Post by: tiwag on June 21, 2006, 06:21:56 pm
this reminder-shit should be removed clompletely from the code
Title: Re: BYO games plugin :)
Post by: byo on June 21, 2006, 06:32:09 pm
I played several minutes amd close the game. After some time I saw message "Stop playing and begin to work" (or something like this) :) I closed message but it popuped again. Only closing C::B helped with this problem :)

It has already been fixed.

this reminder-shit should be removed clompletely from the code

No, it won't be removed. But it will be configurable in future.
Title: Re: BYO games plugin :)
Post by: tiwag on June 21, 2006, 06:33:24 pm
No, it won't be removed. But it will be configurable in future.
i hope with an option * OFF   :D
Title: Re: BYO games plugin :)
Post by: byo on June 21, 2006, 06:35:16 pm
No, it won't be removed. But it will be configurable in future.
i hope with an option * OFF   :D

Sure  :lol:

...
Hello,

I have just tried C::B rev 2592 on the same machine, but with Gentoo and it seems that now the game works fine. It is no more slow and perfectly playable :). Anyway, I will give a try on Ubuntu Dapper too.

Best wishes,
Michael


I really don't know what's the problem. Has anyone any ideas ? What wxwidgets version are you using ?

Title: Re: BYO games plugin :)
Post by: killerbot on June 21, 2006, 06:43:58 pm
rhe reminder stuff : has that been changed ?
if you play too long it says go back to work,

but today I had twice saying i had been working to long, and I should take a break .. ???? :shock: :shock: :shock:
Title: Re: BYO games plugin :)
Post by: orefa on June 21, 2006, 06:45:41 pm
About the timer, people who wants to play Tetris through a programming IDE instead of directly may actually want it. But yes, it should be configurable. Everyone else who just want to play the game without interruption can still do so directly since there is no shortage of free clones out there.
Title: Re: BYO games plugin :)
Post by: Michael on June 21, 2006, 06:56:41 pm
I really don't know what's the problem. Has anyone any ideas ? What wxwidgets version are you using ?

Hello,

Ubuntu Dapper --> wxGTK 2.6.1
Gentoo 2006.0 --> wxGTK 2.6.2

Best wishes,
Michael
Title: Re: BYO games plugin :)
Post by: killerbot on June 21, 2006, 08:55:21 pm
also on my linux system it runs ok now (Suse 10.1 64 bit)
Thx, great job
Title: Re: BYO games plugin :)
Post by: byo on June 21, 2006, 09:25:21 pm
rhe reminder stuff : has that been changed ?
if you play too long it says go back to work,

but today I had twice saying i had been working to long, and I should take a break .. ???? :shock: :shock: :shock:

New feature  :lol: (was really easy to implement, I couldn't resist) taking care of your health ;)
This dialog box is popped up each 3 hours of work (not playing)
Title: Re: BYO games plugin :)
Post by: Michael on June 21, 2006, 09:37:18 pm
New feature  :lol: (was really easy to implement, I couldn't resist) taking care of your health ;)

It does remember me EyeCare (http://www.codeproject.com/library/wxwidgets.asp) :roll:.

Best wishes,
Michael