
F
Publisher
fangshiao
PlatformerOnCode
Game Kits
Platformer Level Control Trap Dialog Python Code Save
A platformer demo which use 'code blocks' platform , including level generation by python file ; character control ; trap system (spring, trigger, pry ... ) enabled player to pause time and place the trap ; buiding transforms by ‘code blocks’ ; easy plot dialog ; user record saving.
PlatformerOnCode Demo
A platformer demo which use 'code blocks' platform , including :
- Level generation by python file.
- Character control ;trap system (spring, trigger, pry ... ) enabled player to pause time and place the trap .
- Building transforms by 'code blocks'.
- Easy plot dialog ;
- Simple user record saving.
Generate platform by codes
- Edit level you want in c++ codes like : platformer_floor\codeFloor\floor0.cpp
- Change level id in py code
- Run lexer.py to generate json file
Create trap Example
set traps in few codes
Extends Trap
extends Trap
class_name TrapSpring
Override functions
func onTargetEnter(target):
if (target.velocity.y
Plot dialog
Building transforms by 'code blocks'