Unable to get the frog object to jump in the Defold getting started tutorial - defold

I've completed the Defold tutorial upto Step5 and also the first 7 points of Step6. However, I when I hit space the frog object does not jump. I keep seeing the below messages in the console.
WARNING:DLIB: Failed to send announce message (-22)
Also, if I place the frog object at some height above the ground it does not 'fall' but just runs its animation.
What could be wrong? I don't think that I can copy the entire contents here as there is so much, can anyone share a working source for the tutorial?

I needed to add the hero.script component to the hero game object as per this answer on the Defold forum

Related

Unity Glitching when I run the Game

I made a Model of the solar system and when I run the program this happens:
I am not sure what is causing this so if you have any idea Pls Reply.
The Scene load is being triggered multiple times:
Check if you have any code that you're using to load the scene (In Update, perhaps?) if youre using it in update, check if you're using GetKey instead of GetKeyDown (GetKey will remain true as long as you keep it pressed)
The information provided here is too little and we can only speculate at this point. please post code, more images and a better description of the problem. How did you reproduce this issue?

Unreal Engine 4.25 travel failure when calling game over

so I'm trying to create a mobile game in UE4.25, working in the blueprints section for this part, but I put game over into its own level because it was causing problems when in the same level as the main game. When trying to call game over after the player hits an enemy with less score than the enemy takes away, I call openlevel which goes to DEMO_GameOver (the level) but I get the "travel failure" error.
anyone know how to fix this? (see attached images for more information)
UPDATE: SOLVED
after looking back several times at this post to see if anyone had responded with a solution, I worked out the problem randomly while looking at the screen. I realised that I had named the level I was trying to open "DEMO_GameOver" where I needed to call "BETA_GameOver"
I hope someone else who has this problem can figure out a similar fix, it's probably (when working in singleplayer) just an incorrect level name.

Animation error

Can anyone help me with this error message I get when I try to play a game level in a game I am developing.
What happens is that on starting the game the game starts and runs fine but after the player wins or loses the game and wishes to replay or play the game level again from the main menu, the following error comes up(Please see the screen shot below):
I suspect my animations but I really cannot place what and where the problem is.
animations_ has probably already been released, if you did not retain it, then you do not have to release it.

Use multiple components in Flash AS3 - iPhone app

First of all: Happy new year!
I have a problem with Flash CS5.5, AS3. I have two ScrollPane Components in my document. They are both in another scene and the (instant)names are unique. But it isn’t working properly. When I go to the other scene with the second ScrollPane I get an error & it starts to flicker.
My error:
TypeError: Error #1006: setSize is not a function. at
application051_fla::MainTimeline/frame25()[application051_fla.MainTimeline::frame25:7]
I want to make an iPhone application and I want that multiple components working properly in one document.
My little piece of code (don’t think that the problem is in here):
ScrollPane02.source = tekst03;
ScrollPane02.setSize(350,400);
ScrollPane02.move(0, 20);
ScrollPane02.scrollDrag = false;
If you know the answer or what I am doing wrong, please comment! Searching for hours/days!
Thanks in advance!
Uploaded the .fla document. If you want to take a look at it (please), you can download it here: http://www.bregjebouwmans.nl/application061.fla
Edit:
Ok, after digging through the FLA, I finally figured out what you did . . . you right clicked on ScrollPane in the "Library", and clicked "Duplicate". Then you gave it the name ScrollPane02. Except that the duplication process did not connect the new object to the ScrollPane's setup. Instead, it created a generic MovieClip object. Since it is not an actual ScrollPane, it makes sense that all the methods on the timeline's Actionscript will fail.
This is why the solution (in the comments below) works. #AsTheWormTurns just used the first (actual) ScrollPane in two instances on the timeline; is a viable solution.
(The only caveat being that if you change the ScrollPane object in the Library, it will affect all instances. That shouldn't really be a problem, since -- for components -- you generally make changes only to instances.)
Useful tips from my initial answer:
When compiled into an SWF, scenes are just stuck one right after the other in the timeline, just like scenes in a movie. If you do not have a stop() at the end of one scene, it will continue to run right into the next scene, just like a movie. The idea of scenes is to separate content. This means that what exists in sceneA does not exist in sceneB. The scenes also have no access to each other.
My advice is to not use scenes at all. They are difficult to use correctly, and have very little use that is not better done using the timeline or Actionscript.

making game in pad and iphone

Respected sir,
I need help .
If I want to make the object move only when the key(button) is pressed. what should I do to shift the position of the object on frames where the key is held down:-
If I pressed left or right button the object should move on that side .
thanks in advance .
It sounds as though you are quite early in the process of making a game on the platform.
A lot of the basics would be covered in a book on the subject which will take you through the steps one at a time.
A good such book is "Beginning iPhone Games Development" available from Amazon.
Alternatively you could have a look at the code examples Apple provides.
The Move Me example is a good starting point as it shows both user interaction and the movement of objects.
Good luck and, above all, enjoy.
Teo
There is a fantastic page with tutorials from Mike and I guess you will find an answer there.
http://www.71squared.com/iphone-tutorials/