记录精彩的程序人生
存档:
2019 年 03 月 (19)
从Github上下载项目代码到本地,用Netbeans打开后,执行Clean and Build后,控制台报 * What went wrong: A problem occurred configuring project ':android'. > SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable. 解决方式:重新设置Android SDK即可
how to harness Blender to create 2D isometric tiles
the basic formulas to handle isometric projection in 2D
a beginner’s look at isometric tiles
本系列教程来自MTX(MoribitoTechX)的Tutorial Blog: http://moribitotechx.blogspot.co.uk/ 因需科学上网才能访问,且该博客5年多没有更新了(最后更新时间2013.7.27),故这里手打上来留一备份。因为比较长,分成两部分:第一部分 项目地址:https://github.com/moribitotech/MTX Series 4 (Fun & Cool Things) This series is for showing nice effects and smart actions for your games and live wallpapers. The best part is, it only requires single line of code to create effects or couple of line of codes for smart actions. Game effects, Menu effects, Information panel effects, Backgroun....
本系列教程来自MTX(MoribitoTechX)的Tutorial Blog: http://moribitotechx.blogspot.co.uk/ 因需科学上网才能访问,且该博客5年多没有更新了(最后更新时间2013.7.27),故这里手打上来留一备份。因为比较长,分成两部分:第二部分 项目地址:https://github.com/moribitotech/MTX Series 1 (Introduction to MTX with LibGDX Scene2D) In this series I will talk about Mini-MTX framework which built on LibGDX Scene2D. This is a mandatory series, if you want to continue other series. I will talk about the structure of MTX, screen systems, advanced actors, game specific buttons, animations and....
转自Aurelien Ribon’s Dev Blog的Tutorial: Animated grass using LibGDX 注意:文中大部分链接已失效 在github上找到该作者的项目地址:universal-tween-engine A little and easy tutorial today, but which can add a nice value to your games: we’re going to animate some grass to enhance the floors. Indeed, even if you really suck at graphics as I do, you can fake the user into thining it’s still awesome by animating everything! If it doesn’t look pretty, make it move! Of course, I don’t claim that’s the best way to implement animated g....
请看下面的代码: package com.packtpub.libgdx.canyonbunny.game; public class WorldController { private static final String TAG = WorldController.class.getName(); public WorldController () { } private void init () { } public void update (float deltaTime) { } } WorldController类有一个内部的init()方法用于初始化对象。我们知道,所有的初始化代码也可以放到构造函数中。然而,在很多情况下,初始化代码位于一个单独的函数中也很有意义。无论何时我们需要在游戏中重置一个对象的时候,我们不要完全重建这个对象,这样就可以提高性能。这种实现还可以极大的降低被垃圾回收期中断的概率。我们尝试重用现有的对象,这样可以达到最大性能和最小内存占用的设计目标。这一点对于安卓这种有效资源的只能手机尤其重要。 好吧,翻译的确实够生硬的,意思应该都理解。之前遇到类....
高拍仪厂家一般都提供B/S系统集成高拍仪的方法,厂商提供的二次开发绝大多数都是基于ActiveX控件,通过JS脚本来控制,功能上受限,只能使用ActiveX控件暴露的接口且无法自定义界面,另外ActiveX控件的使用限制了系统只能使用IE浏览器或基于IE内核的浏览器。本文采用一种基于Java的解决方案,通过Java Web Start技术可以兼容各种浏览器,也可以在非Window系统下使用,缺点是通常会比厂商提供的原生程序需要慢一些,但可以接受。
Netbeans10已经发布了,之所以还使用Netbeans8.2是因为目前只有该版本有插件支持Android开发,不知道Netbeans何时才能从Apache孵化出来。。。 下载并安装Java SE Development Kit 8 Downloads 下载并安装NetBeans IDE 8.2 Download,选择Java SE版即可。 安装NBANDROID-V2插件,参考Netbeans8.2安装Android开发插件NBAndroid。 安装Android SDK,参考Android SDK的下载与安装和android AVD 启动时报错。 下载Gradle based setup application,并执行: 启动Netbeans8.2,打开上一步上生成的gradle项目: 打开后出现问题,请参考Netbeans8.2使用NBANDROID-V2插件打包libgdx android项目报错和Netbeans8.2打开libgdx android项目报错This Gradle plugin requires a newer IDE able to request....
在项目的gradle.properties配置文件中加入以下这句: android.injected.build.model.only.versioned=3 参考android 报错 This Gradle plugin requires a newer IDE able to request IDE model level 3 错误解决方案,原文针对android studio IDE,对Netbeans8.2同样适用。
现象: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':android:lintVitalRelease'. > Could not resolve all files for configuration ':android:lintClassPath'. > Could not find org.jetbrains.trove4j:trove4j:20160824. Searched in the following locations: file:/D:/android-sdk-windows/extras/m2repository/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom file:/D:/android-sdk-windows/extras/m2repository/org/jetbrains/trove4j/trove4j/20160824/trove4j-20....
ERROR: This AVD’s configuration is missing a kernel file! Please ensure the file “kernel-qemu” is in the same location as your system image。 解决方法:将android-sdk-windows\system-images\android-27\google_apis\x86目录下的"kernel-ranchu-64“文件复制一份并改名为”kernel-qemu",然后重新 start 虚拟机。 ERROR: x86 emulation currently requires hardware acceleration! 解决方法: 去intel haxm下载最新的安装包(当前最新版本为7.1.4),然后解压到 android-sdk-windows\extras\intel\Hardware_Accelerated_Execution_Manager目录,再手动点击 intelhaxm-android.exe安装。 黑屏 解决方法: Android ....
本文转载自菜鸟学飞ing的Android SDK的下载与安装 Android SDK简介 Android SDK(Software Development Kit,软件开发工具包)被软件开发工程师用于为特定的软件包、软件框架、硬件平台、操作系统等建立应用软件的开发工具的集合。它提供了 Android API 库和开发工具构建,测试和调试应用程序。简单来讲,Android SDK 可以看做用于开发和运行 Android 应用的一个软件。 下载SDK 目前官网上已经没有单独的SDK下载安装包了。目前官网推荐的是下载包含有Android SDK的Android Studio。官网下载传送门 Android Studio 的一个功能非常强大的用来做安卓开发试调的官方出品的工具。Ps:官网下载,需科学(翻)上(墙)网 由于这个Android Studio 的安装包过大且官网下载需要FQ,而咱们在用Appium 的时候实际上只需要用到SDK 工具而已。所以推荐大家去另外一个国内的Android 工具的下载网站下载。传送门 进入页面后点击【Android SDK 工具】按钮,然后在弹....
NBAndroid插件搬家了,地址NBANDROID-V2,目前支持到Netbeans8.2版。在Netbeans10上安装失败。 具体安装过程参考github项目首页,可在线或离线下载安装,需要注意的是,在中国大陆访问插件地址由于网速过慢导致安装失败。 以下是官网离线下载地址: 版本 地址 NetBeans 8.1 http://server.arsi.sk/nbandroid81/ NetBeans 8.2 http://server.arsi.sk/nbandroid82/ 官网地址下载失败的可以从以下地址下载: 百度网盘下载 提取码: 6umh
书籍 名称 地址 备注 jMonkeyEngine3.0BeginnersGuide 下载 jMonkeyEngine3.0Cookbook 下载
游戏资源 名称 地址 备注 kenney https://www.kenney.nl/ Free game assets, no strings attached. 打包出售:https://itch.io/s/6789/kenney-bundle 书籍 名称 地址 备注 Learning LibGDX Game Development, 2nd Edition 下载 Libgdx Cross-platform Game Development Cookbook 下载 LibGDX Game Development By Example 下载 LibGDX Game Development Essentials 下载 Building a 3D Game with LibGDX.pdf Buildinga3DGamewithLibGDX.z01.zip Buildinga3DGamewithLibGDX.z02.zip Buildinga3DGamewithLibGDX.zip 下载后去掉前两个文件的....
Netbeans已经发布了最新版本Netbeans 10。 Netbeans没有自带Gradle支持,需要另外安装插件,链接 http://plugins.netbeans.org/plugin/44510/gradle-support 打开链接可以看到当前插件支持的最高版本是Netbeans 9.0,没有关系,Netbeans 10同样是支持的。点击Download按钮,下载最新的2.0.2版插件(1544990439_netbeans-gradle-plugin-2.0.2.nbm),下载完成后,打开Netbeans 10,执行菜单项Tools->Plugins,打开插件窗口并切换到Downloaded页 单击Add Plugins…按钮,选中刚刚下载的2.0.2版插件文件进行安装。安装完成后,Netbeans 10就可以支持Gradle项目了。
在腾讯云上申请了一台云服务器,准备作为个人博客用,最终选择了Solo这个开源博客系统。下面简单记录了这个系统的部署过程。 部署环境说明 名称 说明 腾讯云服务器 全新1 核 1 GB 1 Mbps, 高性能云硬盘 操作系统 CentOS 7.4 数据库 MariaDB JDK 1.8.0_201 反向代理 NGINX Solo 3.1.0 web容器 独立模式使用内嵌的 Jetty 容器进行部署 我的博客地址 acuilab.com 准备工作 首先在腾讯云上申请云服务器,并选择安装CentOS 7.4操作系统。 使用Putty远程登录云服务器。 使用FileZilla作为ftp客户端 参考阿里云CentOS7.4上搭建FTP服务器搭建ftp服务器 安装MariaDB 参考Centos7安装mariadb 参考将mariadb服务添加至开机自启动设置开机自启动:systemctl enable mariadb.service systemctl enable mariadb.service 注意配置MariaDB的字符集为u....