Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

k3nn

7
Posts
1
Topics
1
Following
A member registered Dec 06, 2019

Recent community posts

I stucked in the wall in my own collision system while above boxes and ramps objects in z-Axis. I gave up and tried this system. I just replaced the place_meeting to my custom script, and VOILA!! Everything running smoothly. Thanks Pixelated!

(1 edit)

I am not a programming expert, there is something i am struggling for. How to avoid code repetition? For example: I need to write the move code in every state that involves movement. Gravity is another issue, i am repeating all gravity stuffs all over the states. Any advice ?

This is a tip for those who bought this awesome script. You can get more "slippery" effect by using a rounded collision mask and increasing _max_scan_angle.

Ohoho Nice! I can adapt it to a custom place_meeting function!

Thanks Pixelated!

Hey pixelatedpope, Your script uses place_meeting ffunctions to check collisions or place_free+solid black box? I'd like to know that before buy. 

Thanks Vadim! Its easier than i thought.

Hello Vadim,

I got something like this. How do i access values inside obj1 and obj2?

{
   "obj1":{
      "item1":["w","s","a","d","i","o","p","k"],
      "item2":["-1","-1","-1","-1","-1","-1","-1","-1"],
      "item3":["-1","-1","-1","-1","-1","-1","-1","-1"],
      "item4":["-1","-1","-1","-1","-1","-1","-1","-1"]
   },
   "obj2":{
      "item1":["-1","-1","-1","-1","-1","-1","-1","-1"],
      "item2":["-1","-1","-1","-1","-1","-1","-1","-1"],
      "item3":["-1","-1","-1","-1","-1","-1","-1","-1"],
      "item4":["-1","-1","-1","-1","-1","-1","-1","-1"]
   }
}