New to Fuse4-want a Faery Tale Adventure like game
-
Not to sure but this may help
Couldn't find setmode() any where and it seemed to be playing ok on my switchlite.
So I set up a image the size of the docked screen
And on your main loop setdrawtarget to that and at the end of your loop before update just drew it to the screen like so in the code below.
Would need some more work to make sure everything's working correctly but it would be easier than altering all your drawing code. -
Had a look at more of your code.
I had a lot of trouble myself with arrays when I began.
You should assign arrays differently to what your doing
Ie.
Array player [ 1 ]
Instead of
Player = [ ]
I rewrote a section of code where you loaded your player characters and put them into sprites using for loop repeat.
And it seemed to work ok.
One thing I use a lot of to keep track of items in an array is to simply make a variable name like
player_monk = 4
And 4 is the tile sheet in the array.
You should be able to see it in the video.Hope this helps.
-
@xevdev thanks I was able to get your method to work and have it automatically sense if it’s HDMI or handheld.
However, there is a significant side effect to address being when you walk outside of the Tambray village to the unfinished areas of the Map world (ie blackness) without grass or other image laid down, the area smears . So if there are randomly placed objects, they smear too. I noticed this also when going inside of a building.
I think if I just put down a mapped image then this should fix it. For now it’s just weird smearing.
-
@xevdev I was able to make most if not almost all of them to use the array statement. One confusing this was the array made for jade in that unless it was renamed as jade1 it caused errors.
jade = [ ]
to
array jade [1]
did not work. I had to rename the jade array as jade1. Everything else almost identical worked except for jade.array jade1 [1] Worked
-
Regarding the smearing: I have not gotten to peek at the code, but what you describe "smells" like the clear() function needs to be called, possibly?
-
That's correct I had that too until I put a clear() in.
-
You could also change image_rgba to image_rgb and this should work ?. A is the alpha transparency.
Oh yeah game is looking good well done. -
“Jade” is a Fuze constant for one of the predefined colours!
-
@vinicity great find! That makes sense now about Jade being a keyword colour. I should have made it Skull instead of Jade but not going back now...
Thanks again for explaining the mystery
Tim
-
@xevdev changing the g_buffer=createimage(1920,1080,false,image_rgba)
To
g_buffer=createimage(1920,1080,false,image_rgb)
Fixed the issue of smearing ! Looks normal again.
Great find!
I should’ve have realized all my other CreateImage statements had just the ‘image_rgb’ and not the ‘image_rgba’
-
@xevdev how did you create the videos from your switch? I usually just use my iPhone on my 65” tv but I see others are making videos. Does the switch have some recording capability?
-
You hold the switch screenshot button down. It’s the one opposite ’home’.
-
If you hold down the button below the left cursor keys it saves the last 30 seconds of activity as a video clip which appears in the Switches Album folder. You can then post that clip to a Twitter account.
-
It's linked to my twitter account. So I just hold the button below the d-pad and it will record the last 30 seconds of the switches output to the screen. You can access this by pressing the home button and going into the blue icon next to the shopping icon.
If you have a twitter account then you can post it to it.
To paste the video just go to the video and copy it's link and paste into the fuze arena thing I'm using now. -
@xevdev https://www.facebook.com/100009752675773/posts/1235553130113098/?extid=MfbjDuWBlHOAkRcE&d=n
I was able to share it to my Facebook account!
-
-
@tdg8934 It fluctuates. I've had Twitter videos post instantly sometimes as if it didn't even need to upload, and other times it took a while. Same for Facebook. It really varies.
-
I can see this one though. Good stuff.
-
@xevdev ok so my Facebook one probably only is sent to Facebook friends so I’ll use the Twitter approach.
-
All - I’m looking for a way to simulate a sunset. In the game using the frame buffer I would like to know how to make the screen look like the sun is going down or coming up in the morning. I tried the render effect but got a little lost in knowing what values are valid. I want to be able to set a timer so that after a while, the map looks dimmer as the day progresses. Ideas please?
Thank you - Tim