Code: Select all
default imagemap_scale = 1.5
screen test:
imagemap:
ground "#ffffff00"
zoom imagemap_scale
Code: Select all
default imagemap_scale = 1.5
screen test:
imagemap:
ground "#ffffff00"
zoom imagemap_scale
THANK YOUUUUUUUUUUUUUUUUUUUUUUUUUm_from_space wrote: ↑Sun Oct 01, 2023 7:10 amHere you can learn more about for loops in general: https://www.w3schools.com/python/python_for_loops.aspCode: Select all
screen number: vbox: for i in range(1, 101): text "no[i]"
Code: Select all
screen number:
text "no1"
text "no2"
text "no3"
.
.
.
.
.
.
.
text "no100"
Code: Select all
bar value FieldValue(store, 'love', range=10, max_is_zero=False, offset=0, step=1)
tHANK YOUOcelot wrote: ↑Thu Sep 28, 2023 1:01 amCode: Select all
$ total_item = len(item) - 1 # total amount (4) ↑ ↑ Substract 1 to ignore item 0
Code: Select all
$ item = [0,apple,tomato,mango]
$ total_item = ??? # <is there any code to count it 3 ?
Code: Select all
#instied of writing like this:
if player1 == 0 or player2== 0 or player3 == 0:
$ player = "dead"
# can i write like this ?
if player1 == 0,
or player2 == 0,
or player3 == 0:
$ player = "dead" #it give me an error