Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - vodkaman6661

Pages: 1 2
1
Ask a Question / Double Tap/Click Behaviour
« on: January 25, 2015, 09:14:33 am »
Hi

I was looking for a double click behaviour on the stencyl forge and on the stencyl forums but couldn't seem to find on. Any ideas how to go about it?

Ive tried if clicked set clicked number to 1 them if clicked number equals 1 and the actor is clicked again set the clicked number to 2 but this falls to work as once you click in the actor it goes straight to 2 and the number doesn't reset.

I'm sure theres a simple solution I just can't think of it at the minute.

Thanks for any help :) 

2
Resolved Questions / Does stencil support iOS 8,1,2?
« on: December 28, 2014, 01:21:05 pm »


Hi all I've just upgraded to the new stencyl along with updating my mac and iPhone 6 to the latest software.

I created a "test" game as it says in the stencylpedia to try and get something on the device but it keep getting the error message

Device -> computer version mismatch.

The device is a iPhone 6 with iOS 8.1.2
Latest version of Xcode
Latest version of stencyl and Mac operating system.

I've managed to get one of the sample apps in Xcode onto the device and that works as intended but can't seem to get one to work through stencyl.

The certificates etc should be in order as I used them before in the old stencyl and on my iPhone 4.

Anyone got any ideas.

I've tried restoring back to iOS 8.0 with a ipsw file but had no luck doing so.

3
Ask a Question / IOS Animation Sticking
« on: September 05, 2014, 01:13:47 pm »
Hi all

I have put together some test code for a project that I am working on. The actor switches between its on and off  animation when touched. The actor also changes animation when touch is held down followed by a variable that is incremented to represent time.Which is reset once the player releases the touch.

All of this works fine apart from one small bug.

If the player taps the left or bottom of the actor just outside of its collision area the actor will become locked in the "hold animation" and the variable will continue to increment until the player taps again. Note that this works fine when testing in flash but not IOS.

Thank you for an help :)

4
Ask a Question / Position question
« on: July 22, 2014, 08:53:03 am »
Hi everyone just a quick question.

How do you get an actors last X position then once you've clicked on them it will set their X position to that last know number until you click on to it once more.

Basically when you click on an actor it will set its X position to where it is currently located and will keep the actor at that X position until you click on it again.

I've managed to set the actor to a position using an set attribute.

Thank you for any help :)

5
Hi

I have a behaviour that kills an actor once you have clicked on them and when that actor is killed it creates another actor in it place.
The same type of behaviour is place on the newly created actor so when you click on actor it returns to the first actor.

This works fine then the actors are located on the tile set , you player is able to easily switch between the two actors. The problem happens when the actor is placed on top of the player or another actor and the player tries to switch them. The newly created actor shoots up into the air and this happens each time that you try to switch it.

I think that i may be an issue with collisions.

Both the switching actors have the same collision shape and are set some that they cant collide with each other. Maybe its to do with the collisions between the switching actors and the player?

Thank you for any idea or help :)

Video link

https://www.youtube.com/watch?v=n_getdRGDDo&feature=youtu.be

6
Ask a Question / Log Question
« on: June 15, 2014, 10:34:22 am »
Hi I've been working in stencyl 2.2 for awhile and decided to try my game in stencil 3.1.

When trying to test the game on my device the log viewer gave me this error

[ERR] java.lang.NullPointerException
[ERR] java.lang.NullPointerException
[LOG] Unexpected problem on thread Thread-181: null

I've added a copy of the logs to the attachments

Thank you for any help

7
Ask a Question / Stencyl 2.2 Link?
« on: June 14, 2014, 12:34:48 pm »
Hi does anyone know where I can get a link to stencyl.dmg file?  Me and my friend were working on 2.2 due to having late 2006 macs but I've just updated to a new mac but my friends hasn't arrived yet. 

8
Ask a Question / Create actor in mid-air?
« on: June 04, 2014, 04:50:18 am »
Hi I'm trying to create a behavior that  spawns an actor in mid-air but can also be changed when the actor is selected(clicked on) , when on the tile set or on-top of another actor.

I currently have a block that can be "paused" which consists of two actors. One that can move and is effected by gravity etc, when the player selects the block it changes to a identical actor that cant be moved to simulate the "paused" effect and again this block can be selected again to create the block that can move. The problem is that if the block is paused on-top of another actor then that actor is moved the block will remain floating in the air.

Thanks in advance for any advice or ideas.

9
Hi this probably is something easy to do but the stencyl  collision block set up is alittle confusing.

I'm trying to set up a behavior where if you click on the actor they will be killed and replaced with another actor that looks the same but cant move in anyway. I have managed to do this but I would also like to set the code up so that the actor can only be killed when its touching the tile set and cant be killed in mid-air.

10
Ask a Question / Testing iOS devices on Windows?
« on: May 09, 2014, 09:14:44 am »
Hi I've been away from stencyl for a good while. Before stencyl 3.0 came out I remember reading that you would be able to test iOS devices on windows based machines. Is this still the case? I had a look in the stencylpedia and could only find how to test on a mac.

11
Old Questions (from 1.x/2.x) / Apple Mach-O Linker Error
« on: September 21, 2013, 07:59:52 am »
i does anyone know how to fix a apple mach-o linker error? ( This happens in xcode when I try to test on my device)


Ld Build/AppScaffold.build/Debug-iphoneos/AppScaffold.build/Objects-normal/armv7/AppScaffold normal armv7
    cd /Users/user/stencylworks/games-ios/lumex_iphonebuild_MAIN_7.400
    setenv IPHONEOS_DEPLOYMENT_TARGET 4.0
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -L/Users/user/stencylworks/games-ios/lumex_iphonebuild_MAIN_7.400/Build/Debug-iphoneos -L/Users/user/stencylworks/games-ios/lumex_iphonebuild_MAIN_7.400 -F/Users/user/stencylworks/games-ios/lumex_iphonebuild_MAIN_7.400/Build/Debug-iphoneos -filelist /Users/user/stencylworks/games-ios/lumex_iphonebuild_MAIN_7.400/Build/AppScaffold.build/Debug-iphoneos/AppScaffold.build/Objects-normal/armv7/AppScaffold.LinkFileList -dead_strip -lstdc++ -lxml2 -ObjC -all_load -Wl -no_implicit_dylibs -miphoneos-version-min=4.0 -framework GameKit -framework Foundation -framework UIKit -framework CoreGraphics -framework OpenGLES -framework QuartzCore -framework AVFoundation -framework AudioToolbox -framework OpenAL -lStencyl -framework iAd -framework StoreKit -o /Users/user/stencylworks/games-ios/lumex_iphonebuild_MAIN_7.400/Build/AppScaffold.build/Debug-iphoneos/AppScaffold.build/Objects-normal/armv7/AppScaffold

ld: duplicate symbol _OBJC_METACLASS_$_SceneEvents_124 in /Users/user/stencylworks/games-ios/lumex_iphonebuild_MAIN_7.400/Build/AppScaffold.build/Debug-iphoneos/AppScaffold.build/Objects-normal/armv7/SceneEvents_124-6B018E66.o and /Users/user/stencylworks/games-ios/lumex_iphonebuild_MAIN_7.400/Build/AppScaffold.build/Debug-iphoneos/AppScaffold.build/Objects-normal/armv7/SceneEvents_124-6B018E66.o for architecture armv7
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 failed with exit code 1


thanks for any help

12
Old Questions (from 1.x/2.x) / Load initially not working?
« on: July 29, 2013, 04:16:34 am »
Hi
   while testing my game I received a few memory warnings so I decided to set some of the atlases to not load on start up. I saved the game as normal and then went on to test my game on my device. While looking at the console I saw that all of the atlases loaded at the start of the game.

I went back into stencylworks to the atlases tab to find that all of the atlases that i had unticked were ticked again....

Anyone else had this problem?

13
Ask a Question / Game Attribute changes itself to 0
« on: June 16, 2013, 06:11:42 am »
Hey

I'm using the time count behavior to save the times of my game. (The player gets stars at the end of the level based on the time that they got. The lower the time the more stars they get)

I have two game attributes one that saves the time that the player scored in the level which is displayed at the end of the level and the other is used to store the lowest time which is used to display how many stars that player has scored on that level on the main menu.

When the player first completes the level the time is displayed correctly and the stars are shown on both the end of level score screen and the menu screen.

But when the player completes the level a second time the score and the stars on the end od level screen work fine but the stars on the menu screen change to 3 stars which means the player has scored the lowest time when they haven't.

I also have a game attribute that tells the game if the level has been completed before which is changed to true once the player enters a region at the end of the level

I've attached a screen shot of the code. 

14
Hi I'm using the time count behavior and was wondering if anyone has used the replace with smaller option. The other two options work fine but when I try the replace smaller option it doesn't seem to work.

Do you use the trigger event block with the message you have typed in?

Example  trigger event "save score" in behavior time count for this scene


Also I'm have a problem trying to save the initial score of a game attribute. I'M using the save block on the title screen which should save the initial score as 0 and when you enter the level menu screen the game will load the save file using the load block and will then check the score of the game attribute do see how mant stars the player has for each level.   

15
Old Questions (from 1.x/2.x) / How to make a pause menu in ios
« on: May 18, 2013, 05:47:36 am »
Hi

What is the best way to create a pause menu in Ios? I've successfully created one in flash but the same code doesnt work in Ios.

Is there any links to tutorials etc?

Thanks for any help.

Pages: 1 2