Stencyl 3.4.0 is now out. Get it now!

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.


Messages - DrunkenShakespeare

Pages: 1 2 3 4
1
In short I figured it out, but I still don't know why it happened in the first place. :/

2
The behavior is the default "Camera follow" that comes with Stencyl. Additionally the only actor in my scene is the player actor. The actor only has the one behavior. The whole thing is rather spartan and minimalist (in order to reduce possible variables). Another note is by changing the window size by half the Y axis is "un-stuck". I feel like an idiot for not thinking of that sooner (I thought the code was the problem). By the question still remains, why was the behavior stuck in 1280 x 960, but fixed 640 x 480?

3
Hi, I posted about this a few days ago, and have come up with a little more information, but still do not know how to fix my problem. The "Camera follow" behavior (or any other behavior involving the "move camera center to..."), which is attached to my player actor, only works on the X axis, but seems to be stuck at the top of my scene for the Y axis. There is room for the camera to pan up and down, as the scene is rather tall, and the camera does indeed follow my actor along the X axis as it should. One anomaly that could be of importance is that my scene window is larger than the window of other scenes (of similar size) that I have made in the past (not in this game though.  There is only one scene in this project thus far). I did not adjust the window size from the default (as far as I am aware. Obviously I must have, or something did at any rate. but not through the intended channels). Anyways, if anyone has any idea why the camera is stuck on the Y axis, any theories would be appreciated.

Thanks in advance!

4
Ask a Question / Re: Camera pan not working/ updating?
« on: August 05, 2017, 11:08:31 am »
I also made a camera behavior for the scene (for science, made just now). "when updating {set camera X value to "Delta" (a number variable adding up every act) and Y value to "Negative "Delta"'}" This did not change the position of the camera at all. I tried it with different combinations of the the negative values just to be sure I wasn't pushing the camera in a direction that it couldn't go any further into. Funny thing though, if I manually enter values into the "X value" and "Y value" (such as 2000, -2500), the camera moves to those coordinates.

5
Ask a Question / Re: Camera pan not working/ updating?
« on: August 05, 2017, 10:54:22 am »
Additionally, If I create a "new game", make an actor with the "camera follow" default behavior, this same thing happens in any scene I make. It should be noted I have no movement logic (besides gravity) attached to the player actor, meaning I have not tried moving it through keypress command and seeing if the camera will follow then. I don't think it should change anything, and I want the camera to be able to follow my player actor right from spawn. The player actor is also being manually placed in the scene, rather than procedurally generated.

6
Ask a Question / Re: Camera pan not working/ updating?
« on: August 05, 2017, 10:37:35 am »
I set my player to be active with the same result. An interesting thing though, if the player starts on the screen (but offset from the center) or slightly off screen to the left or right of the camera, the camera X value centers on the player actor. The Y value doesn't change, and the X value doesn't focus on the player actor (even when set to be always active) if it is any more than slightly off screen. :/

7
Ask a Question / Re: Camera pan not working/ updating?
« on: August 04, 2017, 10:53:08 am »
hrm. I changed the player actor default animation to be a sensor, and removed all the tiles from the scene. no dice. I didn't realize the camera could get caught on things.

8
Ask a Question / Camera pan not working/ updating?
« on: August 04, 2017, 08:57:40 am »
Hello, I have a rather odd problem. I cannot seem to get my camera to follow my player actor. I tried with the default "camera follow" pre-made behavior. It did not work (all of the following behaviors were indeed attached to my actor). I then made my own very simple behavior "When updating { center camera on self }" because there is so little that can go wrong with a one line long behavior, I figured I should be able to troubleshoot it easy. As it happens it still didn't work. So I don't think the behavior is my problem. I don't know if there is an actor setting that is causing this (I looked but didn't see anything). My scene is rather gigantic, so there is scrolling room, and It contains only tiles and a singular player actor. I am spawning my player actor rather high and hoping the camera will pan as the player actor falls to the ground. I do not have any other behaviors active in the scene or player actor.

Any input would be helpful.
Thanks in advance!

9
Ask a Question / Re: 90% memory error
« on: July 20, 2017, 04:06:26 pm »
Yes! that was the issue. the .bat file was still looking in the Stencyl folder. Additionally
Also the Java 8 was in a .Tar.gz file. which is a compressed .Tar file, so I didn't apparently have the new Java runtime environment installed...
That was me realizing I didn't actually install anything. I did think it was rather strange no install wizard popped up when the Java runtime finished downloading. (and even stranger when my computer couldn't figure out how to open a .gz file.) I'm all sorted now.
Thank you!

10
Ask a Question / Re: 90% memory error
« on: July 20, 2017, 12:55:11 pm »
Also the Java 8 was in a .Tar.gz file. which is a compressed .Tar file, so I didn't apparently have the new Java runtime environment installed, just a compressed file with all the files in it. So I downloaded the "Java 8 64bit (offline)" because it's an .exe file, rather than a .Tar.gz.  After getting the runtime environment installed... nothing changed. so... I'm kinda at a loss now of where to go next.

11
Ask a Question / Re: 90% memory error
« on: July 20, 2017, 12:17:26 pm »
Another interesting thing is if I put the _JAVA_OPTIONS environment variable back into my system, and set it to the default limit of 512M, then it works (but extremely poorly). If I set the limit to 1024M (1GB) then it works exactly as normal (as if I didn't change anything. 90% error still applies as normal). The interesting thing is that the override limit will allow stencyl to run even if I set the .bat file to use more than 1GB (usually causes Stencyl to crash), or even if I set the .bat file to use 100GB of RAM (far exceeding the limit of my computer. This is because i'm setting the limit, so whatever the .bat  file  can use doesn't really matter). But if I set the _JAVA_OPTIONS limit to anything above 1GB the .bat file crashes. All in all, I think Stencyl thinks I only have 1GB of RAM available even though I have 8. :{

12
Ask a Question / Re: 90% memory error
« on: July 20, 2017, 11:52:24 am »
Okay, so upon resetting everything, It seems that stencyl works fine (minus the 90% memory error right off the bat) with 1GB. But as soon as I up it to two+, it crashes immediately.

13
Ask a Question / Re: 90% memory error
« on: July 20, 2017, 11:37:37 am »
I think i'm going to uninstall/ reinstall stencyl and try again.

14
Ask a Question / Re: 90% memory error
« on: July 20, 2017, 11:07:32 am »
Here is what the folder looks like. The highlighted files are the downloads that I added (There are two files that I deleted that the downloads replaced).

15
Ask a Question / Re: 90% memory error
« on: July 20, 2017, 11:02:15 am »
As far as I know yes. they are in the stencyl install folder (the folder that everything was put in when stencyl was installed).

Pages: 1 2 3 4