#8X8 GAME with 1x1 ASSETS

234 messages · Page 1 of 1 (latest)

pallid apex
#

Also I should mention I am brand new to the Godot engine so I know nothing about it.

violet thunder
#

@pallid apex

#

So you basically want to create a game made of pixels right

pallid apex
#

yes

violet thunder
#

And you want the camera to be wide enough to fit 8×8

pallid apex
#

yes

violet thunder
#

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

pallid apex
#

I was thinking of a stationary camera

violet thunder
pallid apex
#

single fixed camera

#

right

#

I want my pixel to slide left and right

#

on an 8x8

violet thunder
#

Your pixel stands for your player?

pallid apex
#

yes

#

think space invaders but on 8x8

#

1x1 player

violet thunder
#

I get your point but what screen will use a square window game

pallid apex
#

i dunno lol

#

pc

violet thunder
#

Okay

pallid apex
#

this is just for free to throw on itch

violet thunder
#

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

pallid apex
#

viewport width and height?

violet thunder
#

Ye

pallid apex
#

ok

#

got it

violet thunder
#

Debug the game

#

Does is stretch to fit screen?

pallid apex
#

uhh, how do I debug the game? I just have assets I never coded anything yet

violet thunder
#

F6

#

Top right you can find the icons

pallid apex
#

ok

#

I see it's outline but had to zoom in

#

a prompt poped up (there is no defined scene to run)

violet thunder
#

Can you screenshot your screen

#

I need to tell you where to press

#

And stuff

pallid apex
#

how do I screenshot screen?

violet thunder
#

Alt+prntscrn

#

Idk if you have the key prnt scrn

#

It puts the screenshot in thr clipboard

pallid apex
#

oh neat

violet thunder
#

2d scene top left

#

Click on it

pallid apex
#

k

violet thunder
#

Now ctrl+s to save scene

pallid apex
#

k

violet thunder
#

Now debug using f6 or icons

pallid apex
#

no defined scene to run

violet thunder
#

You saved?

pallid apex
#

yea

violet thunder
#

Click f5

pallid apex
violet thunder
#

Select

#

You can reselect the main scene later

#

Np

pallid apex
#

not letting me pick anything

violet thunder
#

Wdym

pallid apex
#

nothing there to pick

violet thunder
#

Look down left

#

There is a file manager

#

Is the scene there?

pallid apex
#

I never made one

#

I just have a character and a tile

violet thunder
#

Blud what

#

When you saved it first time it meant you created a scene

pallid apex
#

lol I don't know what to tell you, you seen me do it

violet thunder
#

Alright

violet thunder
pallid apex
#

yeah

violet thunder
#

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

pallid apex
#

2d scene?

#

oh

#

ok

violet thunder
#

Double click on the name and rename it

#

Ctrl s to save it

#

Debug and screenshot then send it here

pallid apex
#

now I know how my dad feels with a computer lol

violet thunder
#

F6

#

When u press f6 doesnt a window appear?

pallid apex
#

a tiny empty screen poped up

violet thunder
#

Make it big

#

You know how to make a window big right

pallid apex
#

lol yes sir

violet thunder
#

Screenshot pls

pallid apex
#

now it's big and empty

violet thunder
#

Go to project top left

#

Then window

#

Then screenshot homie

pallid apex
violet thunder
#

Bro this godot 4

violet thunder
pallid apex
#

yeah

violet thunder
#

Down right the center point

#

There is a box

#

It represents the camera

#

Found it?

violet thunder
pallid apex
#

nope

#

at the bottomof the editor?

violet thunder
pallid apex
#

what is down right center point?

#

oh in the editor

violet thunder
pallid apex
#

oh man

#

lol

#

i'm blind

violet thunder
#

Alright click on your mglevel and then right above it there is a + button

#

Search for sprite and add it

pallid apex
#

k

#

I am starting to get a feel for this, as slow as I am lol, you have amazing patience

violet thunder
#

You got the sprite?

pallid apex
#

yes

violet thunder
#

He has been trying to help smbody for 2 hrs now

#

Still trying

pallid apex
#

wow 2 hours

violet thunder
#

Wut

pallid apex
#

hours

#

lol

violet thunder
# pallid apex yes

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

pallid apex
#

really big

violet thunder
#

Put it in the box and make sure it covers the whole box

#

Now debug and show me

pallid apex
#

ok one min

#

it worked you're a genius

violet thunder
#

What

#

Expand homie

pallid apex
violet thunder
#

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

pallid apex
#

yes?

violet thunder
#

Go to project settings and search for test height

pallid apex
#

ok one sec

violet thunder
#

Allow advanced settings if you cqnt find it

#

@pallid apex filter settings is the search area

#

Search in filter settings

violet thunder
#

My battary 10%

pallid apex
#

it's empty

violet thunder
#

Should look like this

pallid apex
violet thunder
#

@pallid apex

pallid apex
#

yes?

violet thunder
#

Show me what window ovveride says

#

When mouse is on it

pallid apex
worldly briar
#

Window override is test width and height

pallid apex
#

we are saved

worldly briar
#

sorry I knew it was in the same place I frgot they renamed it

violet thunder
#

Alright pg

#

Make it 1000 1000

#

@pallid apex

pallid apex
#

1000x1000

violet thunder
#

Try now

#

Debug

#

And show me

#

6% battary

#

Hurry homie

pallid apex
violet thunder
#

Mf get the hell outta here

#

Nah jk

pallid apex
#

lol

violet thunder
#

Make viewport 800×800

#

Do it fast

pallid apex
violet thunder
#

Bro

pallid apex
#

i'm doing what you said

#

i dunno

violet thunder
#

Bro

#

There was a width/ height in godot 3 that are not viewport

#

Like plain height and width

pallid apex
#

staff has to go an make things complicated lol

violet thunder
#

Lemme search

pallid apex
#

we can pick this up later, it's very late

#

sound cool?

#

and you have like no battery

violet thunder
#

You saved me with that

#

Keep this thead open maybe sm1 can come and fix it

pallid apex
#

I'll be on later, you're here a lot right?

violet thunder
#

Ye but probably i wont help much if your need is something changed in godot 4

pallid apex
#

maybe it's just broken?

#

and you were right the whole time

#

maybe

#

lol

violet thunder
#

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

pallid apex
#

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

median umbra
#

this was extremely funny to watch

pallid apex
violet thunder
pallid apex
#

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

violet thunder
#

Gl

#

Also you planning to make 1 level only?

#

Dont forget the sfx and ui

pallid apex
#

right, thanks for reminding me, I need to plan this a bit more than just winging it lol

violet thunder
pallid apex
#

this doesn't belong in here