— 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
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!
Develop games in your browser. Powerful, performant & highly capable.
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
Member since 20 Aug, 2013