-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|567|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Mobile Coding -> Swift Playgrounds

Posted : Thursday, 15 September 2016, 23:41
Jayenkai
I downloaded it, yesterday, to have a nosey.

At first sight, it seems fairly competent.
There's a nice new keyboard that makes coding vaguely do-able, and there's a bunch of tutorials.

So, I thought to myself, why not attempt SpikeDislike!?!

Things I need.
1. Game Loop
2. Loading art.
3. Drawing art to screen.
4. "Is Screen Touched"

1 was easy.
2 was easy.
3 .. ..
.. Where's my screen?
There doesn't appear to be a "Graphics ", or similar command to quickly and easily create a "screen" or canvas, or whatever.
From what I can tell (it doesn't tell you this anywhere, so I'm having to guess) you need to include a UIView, ViewController and more, just to get a "screen" to work.

I gave up for the day, having seen how chaotic they'd actually managed to make things.
The included "Breakout" tutorial has 17 .swift includes, ranging from Ball to UIViewController and everything inbetween.

If Apple were aiming to make something simple and easy to use, they sure as hell haven't bloody well managed it.

It might be nice to tweak the 3 or 4 lines of code that are available in the tutorials, but they don't reveal the true horror of the language itself.

It's no BASIC.
It's no Blitz.
It's no PlayMyCode.

.. It's not what I wanted :\

-=-=-
''Load, Next List!''
Posted : Thursday, 15 September 2016, 23:50
Jayenkai
Whoever thought that this was a good, quick, simple, and easy to use for kids?
I mean, seriously. Who??!!



-=-=-
''Load, Next List!''
Posted : Friday, 16 September 2016, 00:02
Jayenkai


I preferred "Graphics 800,600" myself, but maybe I'm crazy!?!

-=-=-
''Load, Next List!''
Posted : Friday, 16 September 2016, 00:44
rychan
Eurghhhhhh, looks more like old days of DirectX coding!

-=-=-
Web / Game Dev, occasionally finishes off coding games also!

Refresh Games - Game Dev Blog
Posted : Friday, 16 September 2016, 01:05
rockford
Pass me the bucket, I'm feeling a bit... ick!

C++ is quicker and easier to learn than that!

Another piece of "great" software from Apple. Yay.
Posted : Friday, 16 September 2016, 01:11
rychan
I'm delving into ASM shortly myself, that looks like it makes more sense than whatever that swift thingy is meant to do.

LDA #$01
STA $0200

-=-=-
Web / Game Dev, occasionally finishes off coding games also!

Refresh Games - Game Dev Blog