Search found 8 matches

by mofr
Fri Jun 01, 2012 5:07 am
Forum: Games and Creations
Topic: Yet another arkanoid (work in progress)
Replies: 4
Views: 2582

Re: Yet another arkanoid (work in progress)

There is idea, that I should try, to make an energy pool. This energy is necessary for repulsion/attraction activation.
Energy pool capacity, restoration rate and repulsion power can be increased by means of bonuses or player characteristics growth.
by mofr
Thu May 31, 2012 3:36 pm
Forum: Games and Creations
Topic: Yet another arkanoid (work in progress)
Replies: 4
Views: 2582

Re: Yet another arkanoid (work in progress)

coffee, what is the repulse button?
I agree with the lack of "juice", but now I am focused on the core functions, whole game structure, levels creation interface, etc.

P.S. Balls velocity limits and attraction forces are increased.
by mofr
Thu May 31, 2012 2:53 pm
Forum: Games and Creations
Topic: Yet another arkanoid (work in progress)
Replies: 4
Views: 2582

Yet another arkanoid (work in progress)

Hello! I am making an arkanoid clone. Current controls scheme (debug cheats included): LMB/RMB - enable balls attraction; +/- - change paddle size; Mouse wheel - change paddle shape angle; F1 - show controls help; F5 - next level; F12 - toggle fullscreen. There are some gameplay extensions planned i...
by mofr
Tue May 08, 2012 3:56 pm
Forum: Libraries and Tools
Topic: HUMP - yet another set of helpers
Replies: 146
Views: 138382

Re: HUMP - yet another set of helpers

Many thanks, vrld!
Default/global timer is very good idea. Backward compatibility and simple interface are preserved.
by mofr
Tue May 08, 2012 3:01 pm
Forum: Libraries and Tools
Topic: HUMP - yet another set of helpers
Replies: 146
Views: 138382

Re: HUMP - yet another set of helpers

Can you give an example of timers you need to run during the pause menu, but not during the game? There are various delayed and periodical animations and events, which I want to add to my menu (not only menu gamestate). Concrete examples: After "resume game" click, we run menu dissappeara...
by mofr
Tue May 08, 2012 3:39 am
Forum: Libraries and Tools
Topic: HUMP - yet another set of helpers
Replies: 146
Views: 138382

Re: HUMP - yet another set of helpers

Example 2. Arkanoid. Level finished and I add a timer function with level changing code. Then I press escape to enter menu and pause the game, but no way to pause my timer function with level transition.

Whether correctly I use the hump timer library?
by mofr
Sat Apr 28, 2012 7:07 am
Forum: Libraries and Tools
Topic: HUMP - yet another set of helpers
Replies: 146
Views: 138382

Re: HUMP - yet another set of helpers

The main reason is possibility to pause a group of timers. Example. There are two states: game process and menu. When user enters menu I have to pause game timers (to allow user continue game and its timers) and run menu timers. When user resumes a game I have to pause menu timers and continue updat...
by mofr
Thu Apr 26, 2012 11:20 am
Forum: Libraries and Tools
Topic: HUMP - yet another set of helpers
Replies: 146
Views: 138382

Re: HUMP - yet another set of helpers

Very nice and compact lib, vdrl, thank you! What do you think about multiple timer instances in one game? For example, one timer for one game state. Something like this: -- load library hump_timer = require 'hump.timer' -- create timer instance with separate update, add, addPeriodic etc functions ti...