— I think I understand the logic, but if the enemy touches the inside wall first, and made the second wall solid, then my player can't pass through it either.
Sinon the enemies are also on Platform behavior with the 'next to wall' event to change patrol direction
Develop games in your browser. Powerful, performant & highly capable.
Sinon They do have solid behavior, but when I disable, they walk right through it.
I have invisible walls to keep my enemies patrolling on platform. However, my player can't pass through the invisible walls. How do I make it so that only me enemies are affected by invisible walls?
hollowthreat Yes, canvas+
I saw some tutorials on creating enemy AI from the Platform Behavior. Is this good or bad practice to use the platform behavior for enemies?
If it's a platform with enemies patrolling like Mario, what the best way to pursue this?
figured it out. i have an invisible object (spawnobj) and invisible spawnmarker. i have the spawn object move every second at random locations. when it finally moves over the spawn marker, it spawns the enemy.
Try this link:
https://www.dropbox.com/s/r15woy48zsrih ... 1.jpg?dl=0
Very nicely designed. I love your artwork!
hollowthreat I have my WebGL to Off and Sampling to point and seems to work without blurry images. Still having issues?
It's pretty easy to spawn objects randomly inside the window.
However, I want to spawn objects only on the ground on various platforms (side scroller).
Should I place invisible boxes on various places that they can spawn in? How would I go about doing that?
Black are platforms and green is where I want to spawn enemies:
https://www.dropbox.com/s/r15woy48zsrih2t/Untitled-1.jpg?dl=0
cute
looks really good
If I wanted to make a ice hockey game where two players can play at the same time moving their goalie, how do I allow two touch inputs? If I do a regular touch command for both players, the input gets confused as they are both touch.x and touch.y.
Thanks