Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

pstudio

3
Posts
1
Topics
6
Followers
25
Following
A member registered Mar 03, 2016 · View creator page →

Creator of

Recent community posts

I have a stacklist for holding monster cards:

stacklist monster[3] start

        int hp = 0

        int attack = 0

        int block = 0

    end

I am trying to modify a variable of one of the sublists like this:

monster[0].hp = 3

This will give me an illegal assignment expression error. I have verified that I can assign new values to a normal stack or to the stacklist itself. The error may be by design, but I then can't see what is the point of being able to write (monster[0]).hp?

I am trying to have a variable amount of monsters so I need to cycle through them individually to handle their stats. I needed an array like structure to hold variable and I thought I could use the monster stacklist for it but that appears to not be the case.

Hey, are there any news regarding the update?

A bit unrelated, but are there not supposed to be examples bundled with the release. The docs mention e.g. a blackjack example that I can't find.

Otherwise it is a cool project and I think it could potentially be a great prototyping tool. 

Sorry for the late reply.

I have tested the program and it seems to work at my end.
I know this is not the most user friendly program, so it may simply be that you have missed some step in running the console.

I have made an album that shows step for step, how to execute a program:
https://imgur.com/gallery/MUnPA

If possible will you follow those steps and see if it still doesnt work? If it doesn't work I will have to look further into what is causing the issue.

Also note, that the console works best in Chrome although it should still be able to execute in other browsers.