You do not have permission to view this post
You can search for a javascript library which can detect profanity, here is an example:
github.com/web-mech/badwords
I can now see that using the "wait until the correct character is typed before moving on" model would probably be dramatically simpler. I think that's also a fine way to go.
Yeah, it's the easiest way. I made a demo:
dropbox.com/s/6y883of0em28v87/TypingGame.c3p
What if a student types 'bdog' - is this considered as one mistake in the first letter, or 3 mistakes?
In other words, should the game wait until the correct letter is typed before moving to the next one? Or should it move to the next letter, regardless of whether the right or wrong key was pressed?
Something like this?
howtoconstructdemos.com/x-ray-machine-effect-with-blend-mode-capx
Create an object at player position, then use "Object Move at angle" action:
Object Move random(200,500) pixeld at angle random(360)
The objects will be spawned around the player, at distance from 200 to 500 pixels.
calminthenight There are no timelines in Construct 2..
gtanix In C2 you'll likely have to use addons like MoveTo, Spline or LiteTween. Search the forum and Tutorials section for the examples.
Develop games in your browser. Powerful, performant & highly capable.
TextInput object has many problems and may not be a good choice to use in an RPG game.
You can try "TextInput Set Focus" action.
But I suggest you make your own text input with a Text or SpriteFont object. Here is an example:
howtoconstructdemos.com/old-terminal-style-text-input-with-blinking-cursor-capx
If you don't need the recoil effect, then simply pin one end of the gun to the player and use "Gun Set angle towards position (Mouse.X, Mouse.Y)" on every tick.
Try a different easing effect for tween, for example "In out cubic".
Or create your own ease curve and use it in tween.
Member since 26 May, 2016