#8X8 GAME with 1x1 ASSETS
234 messages · Page 1 of 1 (latest)
yes
And you want the camera to be wide enough to fit 8×8
yes
But i think 8×8 camera is kinda square so your game window will be a square
Anyways
Click on the tilemap and search for the property cell
Make the size 1px in x and 1px in y
Now you can place your tiles perfectly
But if you want my advice working on a 1 pixel tiles is very hard and small
You will have to make everything small
Instead you can make normal 16×16 tileset /blocks of the same color so they appear like they are pixels
So your environment wont be very small and hard to handle
also 1 pixel tileset will make working with particles and lights kinda impossible
..
For the camera
You can add a node called camera2d to your player
Search to the property current in the inspector
Check that property to be true
Now you use the property zoom to control the size of the camera
So camera2d only allows u to control zoom
But if you want to change real screen size
Go to project from up left
Then window
Change the size to be whatever you want
Square etc...
The preferred size is the raio 16:9
It fits most screens
I was thinking of a stationary camera
Like not moving cam?
Your pixel stands for your player?
I get your point but what screen will use a square window game
Okay
this is just for free to throw on itch
Go to your project>window and change the size to 8×8
Debug the scene to see if it stretches to fit ur screen or ni
viewport width and height?
Ye
uhh, how do I debug the game? I just have assets I never coded anything yet
ok
I see it's outline but had to zoom in
a prompt poped up (there is no defined scene to run)
how do I screenshot screen?
Alt+prntscrn
Idk if you have the key prnt scrn
It puts the screenshot in thr clipboard
k
Now ctrl+s to save scene
k
Now debug using f6 or icons
no defined scene to run
You saved?
yea
Click f5
not letting me pick anything
Wdym
nothing there to pick
lol I don't know what to tell you, you seen me do it
Alright
Your screen looks like this now?
yeah
Top left click node2d
Now it says node2d top left right?
Double click the name of it to rename it
@pallid apex am sorry it is 2d scene not node2d
Double click on the name and rename it
Ctrl s to save it
Debug and screenshot then send it here
a tiny empty screen poped up
lol yes sir
Screenshot pls
Bro this godot 4
You see in your editor
yeah
Down right the center point
There is a box
It represents the camera
Found it?
It is visible in here
Lmaoo
Alright click on your mglevel and then right above it there is a + button
Search for sprite and add it
k
I am starting to get a feel for this, as slow as I am lol, you have amazing patience
You got the sprite?
yes
Naa you didnt see the guy walrus in the beginer channel
He has been trying to help smbody for 2 hrs now
Still trying
wow 2 hours
Wut
See click the sprite and read the inspector in the right of ur screen
There is a property called texture
Now look at ur file manager and drag that godot pic and drop it in texture
really big
There is something called test width and height it stretches the scene to fit screen using a ratio kinda thing
Lemme see in godot 4 what its called
@pallid apex
yes?
Go to project settings and search for test height
ok one sec
Allow advanced settings if you cqnt find it
@pallid apex filter settings is the search area
Search in filter settings
yes?
Window override is test width and height
we are saved
sorry I knew it was in the same place I frgot they renamed it
lol
Bro
Bro
There was a width/ height in godot 3 that are not viewport
Like plain height and width
staff has to go an make things complicated lol
Lemme search
we can pick this up later, it's very late
sound cool?
and you have like no battery
I'll be on later, you're here a lot right?
Ye but probably i wont help much if your need is something changed in godot 4
No no
Impossible
Alright silent now
..
Hey if you are reading this to help
This guy needs to set his screen side to be 8×8 pixels and stretch to fit screen
Godot4 please tell him exactly what he needs to do
He wants a square game window for his game
woo I got it!
under project settings > display > window > stretch > mode set to canvas_items from disabled.
then changing window size to something useable
all good, now all I have left to do is the hard part. lol
this was extremely funny to watch
Congrats
glad you enjoyed it, the thread isn't over I still have to finish this game
I have attached character body, collision shape and 1x1 sprite now I want it to move back and forth like space invaders then shoot a 1x1 bullet when spacebar is pressed
right, thanks for reminding me, I need to plan this a bit more than just winging it lol
