MoonBit Game Development Track

image

Super massive sheep destroys the world

image

Super massive pumpkin (questionable) destroys the world

That means the team made Desert Soul ()

Got off track, these past few days I’ve been learning that sample tank and writing it makes me a bit dizzy

:thinking: It’s becoming more and more of a mess, an unavoidable problem
Variables are flying around in the project, and structs haven’t been reused yet.

The current question is whether mbt supports using Go-like functions as map values.
Like the following example

var book map[string]func()

func test() {
	fmt.Println(
		"test")
}
func tst() {
	fmt.Println(
		"test")
}

func main() {
	book = make(map[string]func())
	book["ss"] = test
	book["sss"] = tst
	book["ss"]()
}

Mainly, each enemy’s AI is independent, as are the animations, so they can’t be all encapsulated with a single ::

1 Like

Gave up, writing a single file in a single file

In the po, both draw_bits and checkOutmap naming conventions have already appeared in the same file.

po’s Enterprise WeChat got ganked and now can’t attend the meeting

Just wait honestly for other feedback.

image

Hero

Watching it turn into a neon samurai…

I added the big world tonight, but the hitboxes haven’t been optimized yet xd

Would the post from 5 days ago have imagined being able to create something like this (of course there are still many things not added)

Earth online is really fun

Submit PR

1 Like

I realized I was being dumb when writing the hitbox… it’s not when the xy axes overlap, the y‑axis overlapping triggers combat ()

But there are still changes, they’ll come slowly

As for early‑stage small monsters, their HP was a bit high, gradually optimized

What gamejail planning

1 Like

https://github.com/moonbitlang/MoonBit-Code-JAM-2024/pull/36

Got hit by a 2.0 dimensionality reduction strike

Such strong art :sob::sob::sob:

Indeed, one person can’t compete with a team

But I can learn how to draw the health bar; I also plan to implement this entry method

Hope to polish it before the end of next week

Thinking about whether to make it an obtainable skill

Originally was so sleepy but suddenly got mysterious motivation
Don’t be so competitive anymore :enraged_face:, posting for milk tea money

With the help of AI power

Finally, I’m actually tangled up about how to overdo the art and have forgotten my original intention :persevering_face:

Mainly I don’t know how to draw a health bar, and can’t find anything like a health bar.

Maybe we should optimize the logic.

IDEA:
Since it’s called 108 Demon Lords, design the boss stage to allow resurrection + damage inheritance.

Then let the initial level‑0, zero‑bonus character repeat exactly 108 times to defeat the demon lord.

Isn’t that cool

1 Like

Internal friction ing

Is it necessary to lengthen the process when basically it’s just a casual experience?

Otherwise, just add some monsters casually and it can be considered a finished product.

https://0x72.itch.io/2bitcharactergenerator

Seems like it can be copied

Optimization is so hard

1 Like

Added something like a battle entrance animation (?

Anyway, it’s just a placeholder

Then I optimized the code structure and stuff; now at least it’s not a function flying around XD

Turns out I should master Rust first before doing this

Motivation only comes when you actually start writing.

2 Likes

image
I copied a castle from AI and then drew for almost 2 hours.
In the end I found the result wasn’t that great; I just can’t keep up with art.

Anyway, I kept writing.

Today PO was messed up by a mysterious bug of my own, because after entering match it doesn’t appear immediately, so I was left dumbfounded.

2 Likes

In short, this is the effect (

Getting into the top 5 is a bit tough, need to hustle this weekend

Rocket launch

1 Like

Guys
Even a small competition can have hidden bugs crossing :fearful:

I changed the underlying logic yesterday, and today everything is segfaulting.
I don’t get it, maybe it’s because I didn’t push to git in time.

1 Like

That’s basically it; after that, just create a new folder.

I don’t want to get tangled up in art, boohoo.

1 Like