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 - Tobben2111

Pages: 1 2
1
Ask a Question / Tileset 32x32
« on: August 23, 2015, 04:24:01 am »
Hi!

I am trying to come back to stencyl after 1 and a half year. D:

I'am trying to make a tileset of 32x32 tiles.

480x320 screen size, scene properties: tile width and height 32

Tilset image size: 1920x1280, tiles 128x128
Imported scale 4, no smoothing, tile width and height 32

Scene viewer result:


In game result:


What I'am doing wrong? I make everything x4 the size I want.

2
Fixed Bugs (3.x) / Can't test game
« on: August 22, 2015, 08:59:12 am »
Unexpected problem on thread Thread-70: null
java.lang.NullPointerException
   at stencyl.core.engine.snippet.ISnippet.getNiceName(ISnippet.java:465)
   at stencyl.sw.io.write.resource.HXError.getNameAndReason(HXError.java:58)
   at stencyl.sw.io.write.resource.HXWriter.parseForBehaviorCompilationErrors(HXWriter.java:4032)
   at stencyl.sw.io.write.resource.HXWriter.processOutput(HXWriter.java:3607)
   at stencyl.sw.io.write.resource.HXWriter.access$2200(HXWriter.java:78)
   at stencyl.sw.io.write.resource.HXWriter$3.parse(HXWriter.java:457)
   at stencyl.sw.util.StreamGobbler.run(StreamGobbler.java:83)

I had one actor, one scene, made walking for the actor.
I made x2 duplications of the actor.
Then I started getting errors when testing the game. I deleted all duplications, still error
Deleted all actors and scene, still error
Saved as to a new name, still error
Export and import file, still error

Making a new, fresh file works + testing games

- Tobben

3
Resolved Questions / Drag and drop(SOLVED)
« on: May 19, 2014, 08:25:20 am »
Primarily I want to drag and drop 2 different types of actors. Should only be possible to take one actor at the time.

I would also be so honest to say that I do not 100% understand what I have coded so far. Tried to find help through previous forum topic.

I would be very grateful for help and an explanation of the choice of code blocks :)

Atm my codes only drag one actor, last placed blue boom on the scene.


4
iPhone / iPad / Android / Helicopter rider(Android)
« on: May 13, 2014, 08:02:06 am »
Helicopter rider
Welcome to Helicopter rider. Are you ready for a challenge? Avoid every obstacle ranging from parachuters to flying pigs and see if YOU can reach the end. With over 150 different "spawn points" and over 20 different obstacles to avoid will your reflexes be severely challenged. For experienced pilots there will be medals to collect and alot to explore for the most curious of us. Good flight, and good luck! :)

Get the Game:
- Google Play
- Facebook
- Twitter

Screenshots:




Commentary
So far my first game :) I had a lot of fun makiung it. Everything started with me drawing an image in Inkscape, a seagull, which turned out to be a beginning of a game. I wanted to make something I could play whilst taking the train. I'ts not an endless game and it's semi-challenging to finish. So at least I have something to get me going in the morning. ;)

Suggestions, criticism is very desirable.

5
Resolved Questions / achievements menu(switch animation)(SOLVED)
« on: April 22, 2014, 10:43:54 pm »
Hi!
I have a problem with achievements menu. I don't get it why I have been stuck on the same problems for hours, since it's really not that much going on at the same time.


I have goblet actors as achievements.
If I click on one of them it will change to the pressed version(Animation 2)
Everything works fine if I press animation 0(no pressed) actor and it switch to animation 2(pressed), and if I press animation 2 actor it will change back to no pressed(animation 0) :)

But here is the problem. If I press Achievements 1 actor so it change to animation 2(pressed) and then press Achievement 2 actor I can't figure out how to then switch Achievements 1 actor back to unpressed(animation 0). It sound so simple. But I am failing every attempt. On the picture belove I have removed my attempts, atm it only shows working click and click again on the same achievements to switch between pressed and unpressed animation.



Animations^
Achievements 1:

Created:


On Actor:


Updated:


Achivements 2(Looks the same as Achivements 1):

Created:


On Actor:


Updated:

6
Fixed Bugs (3.x) / Copy actor graphical bug
« on: April 17, 2014, 07:12:46 pm »


Original actor graphic:


After copy actor(new actor graphic):


Maybe that happened after this update:
March 16, 2014
- Store animations in square sheets rather than long strips. This will make it harder to hit the 1024 x 1024 limit and somewhat reduce memory usage on Mobiles depending on how long your animations are. You must open and re-save actors to convert them over.


At least I am pretty sure it worked before. I haven't used stencyl that much for the last year or so.

7

Older build doesn't work aswell.

So what is the problem?
I can't run any old or new game files. Flash player can run new game files, but with white screen+ unable to build messages.

When did I discovered the problem?
Did plan on test one of my games with cable. The game didn't run. So I gave up, when I did open the file again, I could not run it in flash. Afther that all files have the same problem.

Looks like stencyl can't find  all files in game folder etc. Since games-genarated folder miss a lot of files, like recourses.


The problem kinda rembember me of something happened 1year ago and made me quit stencyl. http://community.stencyl.com/index.php/topic,20142.msg118049.html#msg118049 It kinda looks like stencyl didn't find the files. I got a new pc and looks like I have a similar problem again.

win(c:)->programfiles(x86)->Stencyl-> games folder is empty. But I believe that is normal? D:

What have I tried?
Uninstall stencyl
Go back to old build
Delete Stencyl %appdata%
Restart PC
Clean project
Cleanup unused files

Can't delete log:
[LOG] Could not parse: C:\Users\Tobben\AppData\Roaming\Stencyl\stencylworks\games\5\resources\data.xml.bak
[LOG] Action: Settings
[LOG] Device OS: 5.0
[LOG] Simulator OS: 5.0
[LOG] Action: Log Viewer
[LOG] Action: Clear Logs
[LOG] Unable to delete file: C:\Users\Tobben\AppData\Roaming\Stencyl\stencylworks\logs\04-16-2014_0508_PM.log

When open scene:
[LOG] Action: Log Viewer
[LOG] Loading Closed Resource: 4645
[LOG] Reading header for Scene: 0 (4645)
[LOG] From: scenes\0.xml
[LOG] Brush Changed
[LOG] Missing: in.joystick.dir
[LOG] Missing: in.joystick.mag
[LOG] Missing: sactor.ispaused
[LOG] Missing: adv.isiphoneipad

[LOG] Activated: 4645
[LOG] Open Took 2160ms
[LOG] Total Took 2317ms

8
Ask a Question / Can't run game/games-generated folder problems
« on: April 16, 2014, 04:33:41 am »
I can't test my game anymore. I have not made ​​any changes and did work a few days ago.

Everything is normal in game folder. But in games-generated res folder is missing etc. I assume that is the reasons for errors. New game/blank game dosen't work. Anybody knows why my game file won't run or what I can do to fix that. I have tried newest version of stencyl and same build as the file worked last time. 




9
Game Art / Inkscape/vector graphic looking good in stencyl?
« on: March 15, 2014, 06:16:20 am »
Hi :)

So I am playing around with inkscape. Picture in inkscape looks good, but when I upload it to stencyl x4 It looks very bad.

Original image from Inkcape:

272x142

Then I export bitmap


Then upload it to stencyl x1,x2,x4.

X1 still looks good, but x2 and x4 lost too much quality.

In pixelart it was a lot easier, just make 4lines of pixel black etc. if u want to show 1 line in stencyl.

So is it possible to do anything to your original picture to make it looks better in stencyl?

- Tobben

10
Resolved Questions / [Solved]Bomb effect lag
« on: May 10, 2013, 11:53:15 am »
Everything works as I want it to. But when many bombs explode almost at the same time, I do get very low fps. I really don't get why that is the case. I can have like 50bombes running around with 60fps. But with the explosion effect it gets to like 10 or lower.


This is how the effect looks like + black dots where the bomb pieces fly’s away.

Codes:


For each piece:


Any suggestion to make the effect less laggy?

- Tobben

11
Game Art / [Solved]Inkscape png animation
« on: April 23, 2013, 01:44:44 pm »
Sorry for yet another topic about inkscape. I have made animation frames in inkscape and export it as png with transparent background. So it works very well in stencyl. But the size it’s correct, frames have different size. With art made in GraphicesGale, animation wasn’t any problem at all. But looks like I can't use GraphicesGale for inkscape images(in png.)? I believe it is because of the transparent background. I can't change the background when opened in GraphicesGale and if I copy the image to a new file and make a new background, that doesn’t look good, but that make sense. So how would you guys suggest about making animations? I have search around for an answerer at inkscape forums. But can only find discussion topic about animate svg files and possible a further update for inkscape.

Many thanks in advance :)

http://puu.sh/2FMxm.png
Just an example of how the images looks when I try to copy something to a new frame. Not sure if I can import an image direct to a new frame.

- Tobben

12
Game Art / [Solved]inkscape Stencyl
« on: April 22, 2013, 04:08:09 am »
Not sure if I should post here, because it doesn’t fit with the “Your Creations” title. But I have a graphical question. I know that a lot of games here use vector or something similar, but I don't know that would work with stencyl. Making graphic like this:
http://community.stencyl.com/index.php/topic,21069.0.html.
 Just one example of many I have seen on stencyl with that type of graphic. So I downloaded inkscape and messing around with it. But when I upload svg image a lot of object disappear.

Example:

inkscape:


In stencyl:


For some reason I can't see all the object I made in inkscape. Did use the rectangles and squares tool without stroke.

So I need some tips etc. how to make it possible to use your inkscape image on stencyl. Don't even know what I should search for getting an answer.

13
Resolved Questions / [Solved]MP3/OGG
« on: April 14, 2013, 01:01:02 pm »
I am not sure how to make sounds work. Well for android and flash I don't have any problems at all. But when I try publish desktop, error appear. That it have to be OGG format. So how dose this work? :O So I need to have the same sound in MP3 and OGG format? 

- Tobben

14
Resolved Questions / [Solved]Local high score problem
« on: April 08, 2013, 11:35:41 am »
Not sure what I did wrong. High score works as it should to some extend. But if I get same score as something already on the high score, the score won't register at all. For example if I get 200score one round and next round I get 200score again, the new score won't show at all. But if I get 300score or 100score, it works as it should. I can't really see what I did wrong ;p Haven't used list that much.

Would be happy if somebody could point out what I did wrong or maybe suggest other methods of making high score with list. :)

- Tobben

15
Ask a Question / Save game/mysql database
« on: March 30, 2013, 02:06:36 pm »
Hi! :)

I am currently working on my homepage. How can I save my game progress to mysql database?



I have to use those blocks. Not sure how the setup should be.
Would be very grateful for help, tips! :)

Edit: The plan is that the user can register on my homepage and when they play games, the progress saves to the username on my homepage. So when they log in and play the game. They start from where they left, X lvls unlocked etc. For highscore games, for every round they can submit  highscore.

- Tobben

Pages: 1 2