Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

BYO games plugin :)

<< < (9/14) > >>

tiwag:
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

byo:
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.


--- Quote from: 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 ?

--- End quote ---

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.


--- Quote from: tiwag on June 19, 2006, 03:18:30 pm ---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

--- End quote ---

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 ;)

tiwag:

--- Quote from: byo on June 20, 2006, 01:38:26 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.
--- End quote ---
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.



--- Quote from: byo on June 20, 2006, 01:38:26 pm ---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 ;)

--- End quote ---

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.


tiwag:
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]

sethjackson:
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.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version